time, eprops, comments, email it, can i make them jpg/gif? |
time, eprops, comments, email it, can i make them jpg/gif? |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Jan 2004 Member No: 1,571 ![]() |
hello.........
is it possible to use images for the links at the bottom of every post (time, eprops, comments, email it)? and if so...would it be possible to change the image to correspond with the number of eprops/comments that are given for that post (i.e. a different image every time eprops/comments are added)? this would help lots...thanks. have a great day. |
|
|
![]() |
![]()
Post
#2
|
|
![]() K R I S E X Y =p ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 493 Joined: Jan 2004 Member No: 1,063 ![]() |
YES u can..hehe
![]() this code is from my previous layout im too lazy to fix it for u hehe.. just put this code in ur webstats and see the outcome..i replaced email with an image.. ![]() 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+ (day|night)/i)) links[l] else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "·´¯`·» Love"); else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "·´¯`·» Love"); else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "·´¯`·» Pride"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "·´¯`·» Pride"); else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "<img src=http://volcano.photobucket.com/albums/v11/lilpinoyincali/site/note.gif border='0'>"); }//--> </script> <!-- end code provided by createblog.com --> |
|
|
![]() ![]() |