Help with HTML Forms

They have: 1 posts

Joined: Mar 2005

Heya, right well heres my dilema:

Basically im using a drop-down box listing loads of Music tracks and then when you select the song you want to listen to and click Play, (submit) the page reloads with the song playing. How would i go about doing this? Or am i approaching it the wrong way and should be doing it in a complete different coding language. All help appreciated, thanks in advance.

They have: 5,633 posts

Joined: Jan 1970

Personaly I think you should stream music through Java or Flash but I have never tried it before because I have never had a reason to.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

I would probably do something like the following:

So, when the page loads up, it will look for a song straight away, if none is chosen, then it doesn't play any song. If one is chosen, then it will play that song.

Busy's picture

He has: 6,151 posts

Joined: May 2001

Just remember the song has to load before its played, unless it's buffered. If you are using anything above 40kb place a big warning for dialup users as it will probably time out for them which could make them try reload (and probably fail again) mean while sucking up your bandwidth.

He has: 17 posts

Joined: Mar 2005

If you are going to use a drop down menu to load the music which isn't probally the best way do the following:

Text that will appear in the choices
Text that will appear in the choices
Text that will appear in the choices
Text that will appear in the choices
Text that will appear in the choices

Just add that code inside the body of the page where you want it and replace the url's with the music and the text to the song title of course.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.