Changing eprops icons, in the add module and the "who gave" |
Changing eprops icons, in the add module and the "who gave" |
Jan 9 2007, 08:24 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Sep 2006 Member No: 460,534 |
I want to match the eprops icons in my blog, but was only able to change the icons links, when people look at who's added eprops on the left side, the original eprop icons are there.
How can I completely change the eprops icon so that an icon of my choice is displayed, replacing the old icons? ---------------------------------------------------------- Here's a link to my test blog... if you look at the "who gave the eprops" the icons do not match. Hopefully someone can help. Posts merged This post has been edited by digital.fragrance: Jan 9 2007, 03:29 PM |
|
|
|
![]() |
| *digital.fragrance* |
Jan 9 2007, 03:21 PM
Post
#2
|
|
Guest |
(Pssst.. don't double post
Try this: CODE <script language=javascript>
var oldprop = new Array('http://www.xanga.com/Images/eProp.gif'); var newprop = new Array('URL OF NEW IMAGE HERE'); for (var i = 0; i < document.images.length; i++) { for (var s = 0; s < oldprop.length; s++){ if (document.images[i].src == oldprop[s]){ neweprop = document.createElement('img'); neweprop.src = newprop[s]; document.images[i].parentNode.replaceChild(neweprop, document.images[i]); break; } } } </script> |
|
|
|
![]() ![]() |