Log In · Register

 
 
Closed TopicStart new topic
music
RPS13
post Jan 29 2004, 07:56 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Jan 2004
Member No: 2,089



Well i used your drop down music menu thing

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="http://url/to/america.mid">America The Beautiful
<option value="http://url/to/cannon_d.mid">Cannon (key of D)
<option value="http://url/to/entrtanr.mid">The Entertainer
<option value="http://url/to/maplerag.mid">Maple Rag
<option value="http://url/to/pete_wlf.mid">Peter & the Wolf
</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="#" 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 -->


yet when i put the songs from here it wont play, and it crashes my browser
 
anne
post Jan 29 2004, 08:55 PM
Post #2


-_- THE ANGEL -_-
***

Group: Member
Posts: 84
Joined: Jan 2004
Member No: 291



maybe the link is broken whistling.gif or copied it wrong stubborn.gif


QUOTE
<option value="#">Click For Music
<option value="http://url/to/america.mid">America The Beautiful
<option value="http://url/to/cannon_d.mid">Cannon (key of D)
<option value="http://url/to/entrtanr.mid">The Entertainer
<option value="http://url/to/maplerag.mid">Maple Rag
<option value="http://url/to/pete_wlf.mid">Peter & the Wolf


[b] - the url of the song...dont delete the ""
[i] - the title of the song within that line.

-----

this is prolly the same script but maybe examples could make u understand how they work...

QUOTE
<center>
<form name=choose>
Music Menu:
<select size=1 onChange="midiplay(this);">
<option value="#">Click For Music
<option value="http://members.tripod.com/siemweb/2Pac_-_Changes.mid">Changes
<option value="http://www.ffcompendium.com/midis/8eyes.mid">FF - 8 Eyes
</select>
</form></center>

<script language="JavaScript">
<!--
//music playlist - xanga.com/add_ons
//by javascript-page.com

//NO NEED TO EDIT THIS SCRIPT
document.write('<bgsound src="#" 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>



hope it helps.
 
RPS13
post Jan 29 2004, 09:38 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Jan 2004
Member No: 2,089



Hmmm apparently it works when I link it to a wav file, but it wont work if I link it to an asf file wacko.gif
 
anne
post Jan 29 2004, 10:06 PM
Post #4


-_- THE ANGEL -_-
***

Group: Member
Posts: 84
Joined: Jan 2004
Member No: 291



then convert it shifty.gif
 

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