Could someone help fix this random img html? |
Could someone help fix this random img html? |
Jan 19 2005, 02:29 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 30 Joined: Jan 2005 Member No: 86,594 |
I've used this code before and had no problem, but now it's just not working. I've hosted the pics on both xanga and another site but it's just not working.
<!-- begin code provided by createblog.com --> <script type='text/javascript'> var image = new Array(); // change this to reflect your set of banners image[0] = ‘http://i.xanga.com/Irockoften/website%20banner%201%20(stars%20and%20moon).JPG’; image[1] = ‘http://i.xanga.com/Irockoften/website%20banner%202%20(stars).JPG’; image[2] = ‘http://i.xanga.com/Irockoften/website%20banner%203%20(block%20letters).JPG'; image[3] = ‘http://i.xanga.com/Irockoften/website%20banner%204%20(retro%20block%20letters).JPG’; image[4] = ‘http://i.xanga.com/Irockoften/website%20banner%205%20(black%20and%20white).JPG’; image[5] = ‘http://i.xanga.com/Irockoften/website%20banner%206%20(green%20saturns).JPG’; image[6] = ‘http://i.xanga.com/Irockoften/website%20banner%207%20(olive).JPG’; image[7] = ‘http://i.xanga.com/Irockoften/website%20banner%208%20(red%20and%20green).JPG’; var index = Math.floor(Math.random() * image.length); document.write('<img src='+ image[index] +'>'); </script> <!-- end code provided by createblog.com --> help! |
|
|
|
![]() |
Jan 19 2005, 03:35 AM
Post
#2
|
|
![]() I HAVE YOUR IP ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,429 Joined: Feb 2004 Member No: 2,745 |
Try
|
|
|
|
Jan 19 2005, 12:12 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 30 Joined: Jan 2005 Member No: 86,594 |
awesome thanks man
|
|
|
|
Jan 19 2005, 12:16 PM
Post
#4
|
|
|
NO. I'm not 13. or 14. or 15. or 16. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 4,616 Joined: Jul 2004 Member No: 30,577 |
|
|
|
|
![]() ![]() |