Date Posted:00:46:46 06/26/04 Sat Author: Mike Subject: You Music HTML
(REVERSE ALL the < > arrows to make it function
MUSIC Shows large bar
++++++++++++++++++++++
>EMBED SRC="example.mid" AUTOSTART="TRUE" LOOP="TRUE" WIDTH="145" HEIGHT="60" ALIGN="CENTER"<
>NOEMBED<
>BGSOUND SRC="example.mid" LOOP="10"<
>/NOEMBED<
>/EMBED<
++++++++++++++++++++++
MUSIC SHUTS OFF sm. bar
>noembed<
>bgsound src="example.mid" loop="true" autostart="false" height="25" width="100" controls="smallconsole"<
>/noembed<
+++++++++++++++++
MUSIC Shows small bar for in a table
>TD align="center"<>IMG SRC="a button here.gif" WIDTH="50" HEIGHT="50"<>P<>A HREF="example.mid"/A<
+++++++++++++++++++++=
This is a juke box that plays 10 songs, changes each time you hit your browsers refresh button.
>script<
>!--
//By George Chiang (http://www.wsabstract.com) More JavaScripts here!
var sound1="first.mid"
var sound2="second.mid"
var sound3="third.mid"
var sound4="fourth.mid"
var sound5="fifth.mid"
var sound6="sixth.mid"
var sound7="seventh.mid"
var sound8="eighth.mid"
var sound9="ninth.mid"
var sound10="tenth.mid"
var x=Math.round(Math.random()*9)
if (x==0) x=sound1
else if (x==1) x=sound2
else if (x==2) x=sound3
else if (x==3) x=sound4
else if (x==4) x=sound5
else if (x==5) x=sound6
else if (x==6) x=sound7
else if (x==7) x=sound8
else if (x==8) x=sound9
else x=sound10
if (navigator.appName=="Microsoft Internet Explorer")
document.write('
else
document.write('>embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true"<')
//--<
>/script<