| CODE FOR THE MUSIC PLAY LIST! BASICALLY OPTION
VALUE 0 U PUT THE TITLE AND FOR THE SONG then for songs[0] you put
the URL OF THAT SONG and SO ON, 1 is with 1, 2 is with 2,
if you want to put more songs just add more numbers, follow the pattern, remember we learned this in kinergarten
<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"> <param NAME VALUE> <param NAME="ShowControls" VALUE="0"> <param NAME="ShowStatusBar" VALUE="0"> <param NAME="ShowDisplay" VALUE="0"> <param NAME="DefaultFrame" VALUE="Slide"> <param NAME="Autostart" VALUE="1"> <param NAME="Loop" VALUE="True"> </object> <form name="form">
<p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#transparent; WIDTH: 235px; COLOR: #444444; font-face: verdana" name="playlist" size="1"> <option value="0">title/artist</option> <option value="1">song title</option>
</select><br> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.Stop(); playstate=2;"></p> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 1; // set to 0 to always play first song in list // set to 1 to randomly choose the first song to play songs=new Array(); songs[0]="song url" songs[1]="song url";
if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.darkplayer.FileName = songs[randsg]; document.darkplayer.scr = songs[randsg]; document.forms['form'].playlist.options[randsg].selected = true; } function play(list) { if (playstate == 2) { document.darkplayer.Play();
} else { var snum = list.options[list.selectedIndex].value document.darkplayer.FileName = songs[snum]; document.darkplayer.scr = songs[snum]; } playstate = 1; } //--> </script> if you want music codes go to i_luv_music4ever and no I WILL NOT HELP YOU FIND MUSIC CODES, like i said i just provide the code for the playlist
If for any reason the playlist does not work be sure to check the MUSIC CODES WORK, if the music codes do work and the music playlist doesn't work that means there's something wrong with the playlist. But some music files just don't work with playlists like quicktime files. (.mov)
YOU PASTE THIS IN CLAF, only 2 possibilities just use public preview.....
Hang-Man Code People can play hangman on your xanga if you paste this code in to CLAF, all the hang-man words are about harry potter and charmed but you can change that to words you want it to be and also change the title of the game.
<body onload="count();"> <table border=1><tr> <form name="hang"><td align="center" colspan=13> <font
face="Comic Sans MS, Arial, Helvetica" color="white"
size="+1"><b>Charmed/Harry Potter HANGMAN! how much do you
know?</b></font></td></tr> <input type="hidden" name="word" value=""> <script language="javascript"> <!-- This Script Created by D10n...(for Becky Flesher): http://members.xoom.com/yoboseyo/js/ --> <!-- For this and 100s of other Free Javascripts, check out: --> <!-- Free-Javascripts.com @ http://www.free-javascripts.com/ --> var words=new Array(); var words=new Array(); words[0] = "PRIVET DRIVE"; words[1] = "PAIGE MATTHEWS"; words[2] = "HARRY POTTER"; words[3] = "HERMIONE GRANGER"; words[4] = "POWER OF THREE"; words[5] = "BOOK OF SHADOWS"; words[6] = "WARLOCKS"; words[7] = "HOGWARTS"; words[8] = "ALBUS DUMBLEDORE"; words[9] = "DRACO MALFOY"; words[10] = "MARIA LOVES MALFOY"; words[11] = "DANIEL RADCLIFFE"; words[12] = "ALYSSA MILANO"; words[13] = "DEMONS"; words[14] = "SPELLS"; words[15] = "POTIONS"; words[16] = "ELDERS"; words[17] = "LEO WYATT"; words[18] = "WYATT MATTHEW HALLIWELL "; words[19] = "AZKABAN"; words[20] = "CHAMBER OF SECRETS"; words[21] = "SORCERERS STONE"; words[22] = "CAULDRONS"; words[23] = "WANDS"; words[24] = "QUIDDITCH"; words[25] = "PROFESSOR SNAPE"; words[26] = "HALLIWELL MANOR"; words[27] = "COLE TURNER"; words[28] = "HOLLY MARIE COMBS"; words[29] = "LORD VOLDEMORT"; words[30] = "SIRIUS BLACK"; words[31] = "EMPATH"; words[32] = "WHITELIGHTER"; words[33] = "WITCHES"; words[34] = "WIZARDS"; words[35] = "JK ROWLINGS"; words[36] = "CONSTANCE M BURGE"; words[37] = "DREW FULLER"; words[38] = "DEMENTOR"; words[39] = "GRYFFINDOR"; words[40] = "I HATE PROFESSOR UMBRIDGE"; words[41] = "CHARMED IS ON WB AND TNT"; words[42] = "HARRY POTTER AND THE HALF BLOOD PRINCE"; alpha="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; ltr=0; ltc=0; for (i=0;i<2;i++) { document.write("<tr>"); for (j=0;j<13;j++) { a='<td><tt><input type="button" value=" '; a+=alpha.substring(ltr,ltr+1)+' " onclick="'; document.write(a+'letter(this);"></tt></td>'); ltr++; }; document.write("</tr>"); }; var rnd=Math.floor(Math.random()*words.length); document.hang.word.value=words[rnd].toUpperCase(); document.write('<tr><td colspan=13 align="center"><tt><font size=+2>'); for (i=0;i<words[rnd].length;i++) { a=words[rnd].substring(i,i+1); if (alpha.indexOf(a,0)>-1) { a="*"; ltc++; }; document.write('<input type="button" value="'+a+'">'); }; document.write('</font></tt></td></tr>'); function letter(l) { a=l.value.substring(1,2); l.value=" "; dh=document.hang; if (a!=" ") { w=dh.word.value; b=w.indexOf(a,0); f=1; dhl=dh.left; while (b>-1) { dh.elements[b+27].value=a; b=w.indexOf(a,b+1); f=0; ltc--; }; dhl.value-=f; if (dhl.value==0) for (j=0;j<26;j++) dh.elements[j+1].click(); }; }; function count() { dh=document.hang; dhc=dh.clock; dhl=dh.left; dhc.value-=1; v=dhl.value*ltc*dhc.value if (v>0) setTimeout("count();",1000); else { msg="Congratulations!"; if (dhl.value<0) msg="You Have No More Tries!"; if (ltc>0) msg="Time Out! Answer:\n"+dh.word.value; dhl.value="0"; alert(msg); }; }; </script> <tr><td align="center" colspan=5>TURNS LEFT:<input type="button" value="10" name="left"></td> <td colspan=5 align="center">TIME REMAINING:<input type="button" value="60" name="clock"></td> <td
colspan=3 align="center"><input type="button" value="Again"
onclick="location='http://www.xanga.com/home.aspx?user=charmedbubblegirl';"> </td></form></tr></table> <center></center> XOXXOXOX OR XXX lol :P PORRRRRRRRRRRN -Courtney |