migashi
04-22-2006, 01:01 PM
I saw the user submitted section, and I was wondering how you do that, because I have a random music code That should be uploaded, But I dont know how to!
<SCRIPT type=text/javascript>
<!---To upload your music, and make it random, just type in the music scource below. But You cant have anyting in .M4p or .MP4, (ie: iTunes)--->
//here, is my array for the MIDIs
bgmusic = new Array();
bgmusic[0] = "http://music.migashigrounds.com/XXXXXXChocolateville.mp3";
bgmusic[1] = "http://music.migashigrounds.com/Central_Funktion-Black_Eyes.mp3";
bgmusic[2] = "http://music.migashigrounds.com/Central_Funktion-Dragonflies_At_Night.mp3";
bgmusic[3] = "http://music.migashigrounds.com/Islands-Rough_Gem.mp3";
bgmusic[4] = "http://music.migashigrounds.com/VcO-Careless.mp3";
bgmusic[5] = "http://music.migashigrounds.com/VcO-Sometimes_I_Find.mp3";
bgmusic[6] = "http://music.migashigrounds.com/VcO-Refraction.mp3";
<!------To add More lines, just type in bgmusic[#] = "http://Your_music.exe/name.exe";------>
window.onload = function(){
document.getElementById('playbackround').src = bgmusic[Math.floor(Math.random() * bgmusic.length)];
}
</SCRIPT>
........ </P>
<BGSOUND id=playbackround volume=-1750 loop=infinite>
<!-----The songs will not go to the next one when it is finished, it will just loop. You can set the loop value, and volume here. The volume is set in a negative value though, so to make it louger, -1700, and quieter, -1800---->
<!-----Music code created by Mason Collins, migashi@migashigrounds.com copyrighted 2006 migashigrounds.com---->
<SCRIPT type=text/javascript>
<!---To upload your music, and make it random, just type in the music scource below. But You cant have anyting in .M4p or .MP4, (ie: iTunes)--->
//here, is my array for the MIDIs
bgmusic = new Array();
bgmusic[0] = "http://music.migashigrounds.com/XXXXXXChocolateville.mp3";
bgmusic[1] = "http://music.migashigrounds.com/Central_Funktion-Black_Eyes.mp3";
bgmusic[2] = "http://music.migashigrounds.com/Central_Funktion-Dragonflies_At_Night.mp3";
bgmusic[3] = "http://music.migashigrounds.com/Islands-Rough_Gem.mp3";
bgmusic[4] = "http://music.migashigrounds.com/VcO-Careless.mp3";
bgmusic[5] = "http://music.migashigrounds.com/VcO-Sometimes_I_Find.mp3";
bgmusic[6] = "http://music.migashigrounds.com/VcO-Refraction.mp3";
<!------To add More lines, just type in bgmusic[#] = "http://Your_music.exe/name.exe";------>
window.onload = function(){
document.getElementById('playbackround').src = bgmusic[Math.floor(Math.random() * bgmusic.length)];
}
</SCRIPT>
........ </P>
<BGSOUND id=playbackround volume=-1750 loop=infinite>
<!-----The songs will not go to the next one when it is finished, it will just loop. You can set the loop value, and volume here. The volume is set in a negative value though, so to make it louger, -1700, and quieter, -1800---->
<!-----Music code created by Mason Collins, migashi@migashigrounds.com copyrighted 2006 migashigrounds.com---->