PDA

View Full Version : Mini Juke Box script


deisenbarth
12-19-2001, 11:44 PM
I downloaded the Mini Juke Box from this site and I think it is great.

However, being new at this Java script stuff and trying to learn what I can, I can't figure out how, if it is possible to place the control bar that comes up after I start it maybe underneath the jukebox and not in a new window.

I am also trying to figure a way to have it play the song while I am going to other pages on my site and not stop when I change pages.

Is there anyone that might understand what I am trying to say and give me some help with this?

I would really appreciate it as I'm just learning and like to play around with this java.

montroze
12-20-2001, 12:19 AM
Might try this script,
<BODY>

<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
var MSIE=navigator.userAgent.indexOf("MSIE");
var NETS=navigator.userAgent.indexOf("Netscape");
var OPER=navigator.userAgent.indexOf("Opera");
if((MSIE>-1) || (OPER>-1)) {
document.write("<BGSOUND SRC=sound.mid LOOP=INFINITE>");
} else {
document.write("<EMBED SRC=sound.mid AUTOSTART=TRUE ");
document.write("HIDDEN=true VOLUME=100 LOOP=TRUE>");
}
// End -->
</SCRIPT>