Log In · Register

 
 
Closed TopicStart new topic
Drop Down Music Menu, seems everybodies having trouble with it
mjk1009
post Feb 6 2004, 12:04 AM
Post #1


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



well here it goes in layman's terms...here the code first
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="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</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="background music url" 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 -->

hope this helps some ppl out... happy.gif
 
mjk1009
post Feb 6 2004, 12:05 AM
Post #2


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



remember that in the "music url" part there is supposed to be NO spaces...but in the "music name" part there can be spaces...
 
aznhybriddragon
post Feb 6 2004, 12:08 AM
Post #3


Senior Member
*****

Group: Member
Posts: 946
Joined: Jan 2004
Member No: 603



http://www.createblog.com/forums/index.php...wtopic=324&st=0

its already posted
 
mjk1009
post Feb 6 2004, 12:26 AM
Post #4


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



yea i know...but ppl keep asking me to help em out and stuff...lol thus layman's terms
 
Retrogressive
post Feb 8 2004, 05:27 PM
Post #5


Don't wake ghostie.
*******

Group: Official Member
Posts: 3,546
Joined: Jan 2004
Member No: 2,405



(loser feels stupid asking but) does it use WMA files cause I tried this one once but it only played the very begining of my song
 
*Kathleen*
post Feb 8 2004, 08:11 PM
Post #6





Guest






QUOTE(mjk1009 @ Feb 6 2004, 12:04 AM)
well here it goes in layman's terms...here the code first
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="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</select>
<option value="music url">music name</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="background music url" 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 -->

hope this helps some ppl out... happy.gif

I tried this, but it still didn't work for me. I have it under everything in my Custom Header. I have one of those blinkie things before it; does that affect it?
 
sabbyrina
post Feb 8 2004, 08:42 PM
Post #7


Member
**

Group: Member
Posts: 26
Joined: Feb 2004
Member No: 2,643



ermmm i tried doing this and i had about 6 songs...but only my 1st song goes in the dropdown menu and the rest dont work! help!!!!!
 
mjk1009
post Feb 9 2004, 04:45 PM
Post #8


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



QUOTE(Kathleen @ Feb 8 2004, 8:11 PM)
I tried this, but it still didn't work for me. I have it under everything in my Custom Header. I have one of those blinkie things before it; does that affect it?

this has to be on the VERY VERY bottom of the Custom Header box...
 
mjk1009
post Feb 9 2004, 04:47 PM
Post #9


Senior Member
****

Group: Member
Posts: 182
Joined: Dec 2003
Member No: 30



QUOTE(sabbyrina @ Feb 8 2004, 8:42 PM)
ermmm i tried doing this and i had about 6 songs...but only my 1st song goes in the dropdown menu and the rest dont work! help!!!!!

i need html here...if you could can you please post up what you are putting on your xanga...if not a site would be nice... happy.gif
 

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