Forum Moderators: not2easy

Message Too Old, No Replies

Tunes on select

play mp3 when selected from a dropdown box

         

mossimo

9:52 am on Jul 12, 2003 (gmt 0)

10+ Year Member



THE GOAL: load and play a looped mp3 when the user selects it from a dropdown box.

<form name="selecttune">
<select name="select" onChange="load1(this.form)">
<option value="" selected>Choose Menu</option>
<option value="http://www.mysite.com/song1.mp3">song1</option>
<option value="http://www.mysite.com/song2.mp3">song2</option>
<option value="http://www.mysite.com/song3.mp3">song3</option>
</select>
</form>

All it needs to work is a script in the <head> and a liitle modifiying of the <form>
That I know, But that's were I get lost.

What do ya think can you help?

hakre

6:52 pm on Jul 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi mossimo,

you first need to have a browser which is capable to play mp3 files at all. maybe there is a plugin for such files and you can use it. if that plugin can be controlled by javascript, then you can do this with your form.

can you give any details about the plugin?

mossimo

1:22 am on Jul 25, 2003 (gmt 0)

10+ Year Member



Thanks for the reply hakre sorry I kind of dropped this thread just been so busy.

It looks like I am going to use flash to build it not JavaScript, Better plug-in and GUI control.