»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-21-2003, 06:54 AM   #1 (permalink)
DKY
Registered User
 
Join Date: Jun 2003
Posts: 34
DKY is on a distinguished road
Send a message via ICQ to DKY Send a message via AIM to DKY Send a message via Yahoo to DKY
(javascript) help with embeded media player and dropdown

I found this on a site, and want to use for my own uses, but I would like to get the player when you select something in the dropdown to play the file. How do I do that.?
http://welcometomessiah.org/soundddown.html
Code:
<html><head><title></title><script language="JavaScript">
function playMusic() {
musicURL=document.music.musicmenu.options[document.music.musicmenu.selectedIndex].value
if (musicURL) {
window.location.href=""musicURL
}
}
</script>
</head><body>
<p align=center><EMBED type="audio/x-pn-realaudio- plugin" console="clip1" 
controls="controlpanel,statusbar" height="50" width="200" autostart="false"><br>
<form name="music">
<select name="musicmenu" size=1 onChange="playMusic()">
<option value="">Music Menu
<option value="http://cudinh.net/music/999doahong.rm">ST: First Contact
<option value="http://cudinh.net/music/2jamunnback.rm">St. Dumas Theme
</select>
</table>
</body></html>

DKY is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:04 AM.