Log In · Register

 
Music On Refresh, it is not working!!!
shatteredtearsmb
post Aug 24 2004, 07:37 PM
Post #1


Member
**

Group: Member
Posts: 27
Joined: Aug 2004
Member No: 41,144



alright I am trying to get my xanga to play a different song each time you refresh the page but it won't work. all the happens is the code shows up. here is the code I am using...

CODE
<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
// modified to eliminate 'undefined' error by micron
// for more xanga scripts and help go to createblog.com
ctips = new Array();
ctips[0]="Anthem of our dying day";
ctips[1]="Rape Me";
ctips[2]="Vindicated";
ctips[3]="You shouldn't kiss me like that";
ctips[4]="I don't wanna miss a thing";
tips = new Array();
tips[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/24767/28066_1_3_04.asf";
tips[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/128/5558_1_4_04.asf";
tips[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22181/29448_1_1_04.asf";
tips[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/1874/13330_1_9_04.asf";
tips[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/213/27194_2_9_04.asf";
index=Math.floor(Math.random() * tips.length);
document.write("<center><embed src="+tips[index]+" width=0 height=0 align=top autostart=true loop=true controls=hidden type=audio/x-pn-realaudio-plugin exts=ra,ram Init fn=load-types mime-types=mime.types></embed></center>")
document.write("<center><font color=#000000>"+ctips[index]+"</center>")
//-->
</script>
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->


I put it in the custom header.....can anyone tell if there is something wrong with the code I am using?? someone please help!!!!
 

Posts in this topic


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