eprop issue, anyone good with coding? |
![]() ![]() |
eprop issue, anyone good with coding? |
Oct 10 2004, 12:34 PM
Post
#1
|
|
![]() my pet rock doesn't like you ![]() ![]() ![]() ![]() Group: Member Posts: 258 Joined: Feb 2004 Member No: 4,866 |
[EDIT] nvm..the eprop options are showing up..but for some reason my links of the pics arnt working.. could someone help? its weird because the links work when you first load the page. if you need to, im giving you permission to look at my source.
this is the code im using: CODE <!-- begin code provided by createblog.com --> <script language=javascript> var oldprop = new Array('http://www.xanga.com/Images/eProp.gif'); var newprop = new Array('http://img.photobucket.com/albums/v255/ch33zylici0us/eprop1.jpg'); 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> <script language=javascript> var oldno = new Array('http://www.xanga.com/Images/noProp.gif'); var newno = new Array('http://img.photobucket.com/albums/v255/ch33zylici0us/eprop3.jpg'); for (var i = 0; i < document.images.length; i++) { for (var s = 0; s < oldno.length; s++){ if (document.images[i].src == oldno[s]){ neweno = document.createElement('img'); neweno.src = newno[s]; document.images[i].parentNode.replaceChild(neweno, document.images[i]); break; } } } </script> <!-- end code provided by createblog.com --> And these are my links: eprop link no eprop link |
|
|
|
![]() ![]() |