im looking for a script where, when u enter the page a random song from my server will play, the songs are in WMA format.
is there a script for this?
thanks in advance.
is there a script for this?
thanks in advance.

<script language="javascript"> // use this script freely // var numsongs stands for the number of songs given var numsongs = 5 //replace with any number you want day = new Date() seed = day.getTime() ran = parseInt(((seed - (parseInt(seed/1000,10) * 1000))/10)/100*numsongs + 1,10) if (ran == (5)) { song =("insert file src here") words =("input song title here") } else if (ran == (4)) { song =("insert file src here") words =("input song title here") } else if (ran == (3)) { song =("insert file src here") words =("input song title here") } else if (ran == (2)) { song =("insert file src here") words =("input song title here") } else if (ran == (1)) { song =("insert file src here") words =("input song title here") } document.write('<EMBED SRC= "' + song + '" CONTROLS=smallconsole HEIGHT=45 WIDTH=290 AUTOSTART=TRUE LOOP=TRUE VOLUME=35%>') document.write('<br>You are listening to ' + words + ' ') </SCRIPT>
Comment