Log In · Register

 
random backgrounds, HELP!
the1darkcloud
post Apr 7 2005, 09:10 PM
Post #1


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 82,410



ok i searched through the scripts and found this one http://www.createblog.com/forums/index.php...dom+backgrounds

but it doesn't seem to work. i think it's b/c of the updated xanga system. can someone plz help me by either making a script or telling me wut i'm doing wrong???
 
 
Start new topic
Replies
the1darkcloud
post Apr 7 2005, 09:24 PM
Post #2


Senior Member
***

Group: Member
Posts: 30
Joined: Jan 2005
Member No: 82,410



ok...

<!-- 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://i3.photobucket.com/albums/y84/The1DarkCloud/illidan-800xedit.jpg]http://i3.photobucket.com/albums/y84/The1D...an-800xedit.jpg';
image[1] = 'http://i3.photobucket.com/albums/y84/The1DarkCloud/undead-1152xedit.jpg]http://i3.photobucket.com/albums/y84/The1D...d-1152xedit.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 -->

here's 2 i wanted to try:
http://i3.photobucket.com/albums/y84/The1D...an-800xedit.jpg
http://i3.photobucket.com/albums/y84/The1D...d-1152xedit.jpg

my xanga: http://www.xanga.com/home.aspx?user=The1DarkCloud
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: