Help - Search - Members - Calendar
Full Version: lpaylist type thing for my xanga...
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
DisneyPrincessKate
Ok i saw this on another site, where it has a little box ad you can choose the songs and stop them, play them and such well i thought it was really cool. does anyone know the code for this? thanks biggrin.gif
xjjajeengx
QUOTE
<!-- 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 -->


change songs if you want. are you talking about drop down menu, or a click to change song thingy like on my xanga? derno...
tofumonzter
blink.gif
slayerangel
Does anyone know how to make the songs loop?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.