View Full Version : Help with playing music in a drop down menu


lingling
09-30-2005, 10:38 AM
Thanks for clicking into the thread! I need help with making my music work in my drop down menu. I've got the codes for it so when I click the music it's a link... but i don't want it to be a link :rant: I just want it to play as background music when the viewers of the page select it and click play!! can anyone help??? here is the code i have so far:

<form name="Menu1">
<p><select name="list" size="1">
<option style="BACKGROUND-COLOR:purple;color:pink" >pumpin` on da stereo_</option>
<option style="BACKGROUND-COLOR:pink;color:red" value="http://www.angelfire.com/blues2/mzlingling/Britney_Spears_-_Chaotic.mp3"> Chaotic- Britney Spears
<option style="BACKGROUND-COLOR:pink;color:red" value="http://www.angelfire.com/blues2/astorcc/_____Y-___N.mp3">曖昧- 楊丞琳 (Raine)
<option style="BACKGROUND-COLOR:pink;color:red" value="http://www.angelfire.com/blues2/mzlingling/Let_me_Be_with_You.mp3">Let Me Be With You- Chobits Theme
<option style="BACKGROUND-COLOR:pink;color:red" value="http://www.angelfire.com/blues2/mzlingling/Daniel_Powter_-_Bad_Day.mp3.mp3">Bad Day- Daniel Powter
<option style="BACKGROUND-COLOR:pink;color:red" value="http://www.angelfire.com/blues2/mzlingling/Dakishimetai.mp3">Dakishimetai- Jungle Smile
</select><input TYPE="button" VALUE="Play!"
ONCLICK="top.location.href=this.form.list.options[this.form.list.selectedIndex].value">
</p>
</form>

pretender
10-01-2005, 03:26 PM
Read here:
http://www.lissaexplains.com/forum/showthread.php?t=28315
They may help you out