Comment - from text to image? |
Comment - from text to image? |
Dec 14 2006, 09:44 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Dec 2006 Member No: 487,783 |
Does anyone have the code for the 'add comment' thing -- to make it an image? There was a topic about it here, but the code is not working for some reason? PLEASE HELP.
|
|
|
|
![]() |
Dec 15 2006, 06:46 AM
Post
#2
|
|
![]() say maydayism. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 7,447 Joined: Jun 2004 Member No: 26,344 |
CODE <!-- Comments and Eprops Script by Sherrys_Designs-->
<script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "<img src=http://img.photobucket.com/albums/v368/sherrys_designs/pixels/eprops.gif border='0'>"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "<img src=http://img.photobucket.com/albums/v368/sherrys_designs/pixels/comments.gif border='0'>"); }//--> </script> |
|
|
|
![]() ![]() |