Random background details..., help |
![]() ![]() |
Random background details..., help |
Dec 21 2004, 10:26 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Dec 2004 Member No: 73,546 |
Well this is the code I have in my Custom Header for the background: random script.
CODE <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <script type='text/javascript'> // random background - jammers var image = new Array(); // change up the images here image[0] = 'http://webpages.charter.net/scgumby/xanga3.jpg'; image[1] = 'http://skins3.wincustomize.com/GreenArmani/wallpapers/Sable1024x768.jpg'; image[2] = 'http://www.billabong.com/en/images/img_gallery_wallpapers/NA/800x600_grub_1.jpg'; var index = Math.floor(Math.random() * image.length); document.write('<style type="text/css"> body { background-image: url('+ image[index] +')</style>'); </script> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> Now... it won't work. Do I need to get rid of my original custom background image I had entered or what? Is the process just putting that code into the custom header or is there more? Thanks |
|
|
|
Dec 21 2004, 10:58 PM
Post
#2
|
|
|
Change Gon Come ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,286 Joined: May 2004 Member No: 18,822 |
remove all other background images from the code except the ones in that code
|
|
|
|
![]() ![]() |