Log In · Register

 
i couldn't find this script, eprops and comments with images
Teesa
post Sep 18 2004, 02:43 PM
Post #1


crushed.
*******

Group: Staff Alumni
Posts: 9,432
Joined: Jun 2004
Member No: 20,026



i had this code on my xanga, but i accidentally deleted it, can someone please tell me the code where you can replace eprops and comments with images?

example:

sorry if theres been a topic on this..=(
 
 
Start new topic
Replies
sherryvu
post Sep 18 2004, 11:44 PM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



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 (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "<img src=IMGLINKHERE border='0'>");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "<img src=IMGLINKHERE border='0'>");
}//-->
</script>
<!-- end code provided by createblog.com -->
just replace the two parts that say "IMGLINKHERE"
 

Posts in this topic
Teesa   i couldn't find this script   Sep 18 2004, 02:43 PM
kpxanqel   just put a image code for the replacing the link   Sep 18 2004, 05:04 PM
TrannieL   QUOTE<!-- begin code provided by createblo...   Sep 18 2004, 05:45 PM
Teesa   which part of the text?   Sep 18 2004, 06:42 PM
Sherry_Vu   CODE<!-- begin code provided by createblog...   Sep 18 2004, 11:44 PM
Teesa   thank you sooo much!!   Sep 19 2004, 09:06 PM
Sherry_Vu   you're welcome [ topic closed ]   Sep 19 2004, 09:51 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: