Trouble with eprops and comment pictures! |
Trouble with eprops and comment pictures! |
Dec 27 2004, 12:39 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 16 Joined: Dec 2004 Member No: 74,754 |
I tried to use this HTML for changing my eprops and comments into diffrent pictures but it doesn't work. Is it right?
CODE <!-- begin code provided by createblog.com -->
<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 (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "<http://img.photobucket.com/albums/v368/sherrys_designs/pixels/eprops.gif>"); else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "<http://img.photobucket.com/albums/v368/sherrys_designs/pixels/eprops.gif>");else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "<http://img.photobucket.com/albums/v368/sherrys_designs/pixels/comments.gif>"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "<http://img.photobucket.com/albums/v368/sherrys_designs/pixels/comments.gif>");}//--> </script> <!-- end code provided by createblog.com --> |
|
|
|
MissMik Trouble with eprops and comment pictures! Dec 27 2004, 12:39 PM
electric shock no. QUOTEelse if (str.match (/comment/i)) links[l]... Dec 27 2004, 04:28 PM
Sherry_Vu CODE<!-- begin code provided by createblog... Dec 27 2004, 05:45 PM
MissMik Wait, it works, I'm sorry. THANK YOU!... Dec 27 2004, 10:19 PM
Sherry_Vu QUOTE(MissMik @ Dec 27 2004, 10:19 PM)Wait, i... Dec 28 2004, 05:05 PM![]() ![]() |