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 |
|
|
|
plainshane Random background details... Dec 21 2004, 10:26 PM
DaToNeViEtBoI916 remove all other background images from the code e... Dec 21 2004, 10:58 PM![]() ![]() |