Help - Search - Members - Calendar
Full Version: music
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
RPS13
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
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
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
then convert it shifty.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.