Log In · Register

 
Drop Down Music Menu, seems everybodies having trouble with it
mjk1009
post Feb 6 2004, 12:04 AM
Post #1


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



well here it goes in layman's terms...here the code first
CODE
<!-- begin code provided by createblog.com -->
<form name=choose>
Music Menu:
<select size=1 onChange="midiplay(this);">
<option value="#">Click For Music
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
</form>

<script language="JavaScript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

document.write('<bgsound src="background music url" id=midijuke loop=1 autostart="true">');

function midiplay(what) {
if (document.all)  {
  document.all.midijuke.src = what.options[what.selectedIndex].value;
}

else {
  alert("Sorry, but the Music Menu is only accessible through MSIE4.0 and above.");
}
}

//-->
</script>
<!-- end code provided by createblog.com -->

hope this helps some ppl out... happy.gif
 
 
Start new topic
Replies
aznhybriddragon
post Feb 6 2004, 12:08 AM
Post #2


Senior Member
*****

Group: Member
Posts: 946
Joined: Jan 2004
Member No: 603



http://www.createblog.com/forums/index.php...wtopic=324&st=0

its already posted
 

Posts in this topic


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