1 RANDOM BACKGROUND MUSIC!!!(hidden) Sat Jan 31, 2009 5:25 pm
danilodeleon
Administrative Team
Description: Plays a random background music, choosing from 5 music source code.
CREDITS: TO MY SELF. AND MY KUA FOR HELPING ME..
IMPORTANT NOTE: PLEASE BE GUIDED TO EXACTLY GET THE URL OF SWF FILE OF EACH MUSIC,,, BG
example:
the embeded code of an mp3:
CYCAN COLOR= THE URL OF THE SWF FLASH FETISH YOU SHOULD GET
now if you chosen already five url,.. of that ..place it in here
RED PART= REPLACE IT WITH THE FIVE SWF MUSIC FILES YOUV CHOSEN
and compile it in your js file...
CREDITS: TO MY SELF. AND MY KUA FOR HELPING ME..
IMPORTANT NOTE: PLEASE BE GUIDED TO EXACTLY GET THE URL OF SWF FILE OF EACH MUSIC,,, BG
example:
the embeded code of an mp3:
- Spoiler:
<center><a href="http://www.mp3-codes.com" target="_blank"><img src="https://2img.net/h/i47.photobucket.com/albums/f165/alexdale1/new-player-skin-2.gif" border="0"><br><embed src="https://i47.photobucket.com/albums/f165/alexdale1/mediaplayer-2.swf" width="277" height="20" type="application/x-shockwave-flash" allowfullscreen="false" flashvars="&file=http%3A%2F%2Fwww.wrzuta.pl%2Faud%2Ffile%2FzmBvFCoeeD%2F.mp3&height=20&width=277&showeq=true&autostart=true&repeat=always&shuffle=false&volume=100"></embed><br>Decode - Paramore<br><small>More at MP3-Codes.com</small></a></center>
CYCAN COLOR= THE URL OF THE SWF FLASH FETISH YOU SHOULD GET
now if you chosen already five url,.. of that ..place it in here
- Spoiler:
- var sound1="FIRST MUSIC URL "
var sound2="SECOND MUSIC URL"
var sound3="THIRD MUSIC URL"
var sound4="FOURTH MUSIC URL"
var sound5="FIFTH MUSIC URL"
var x=Math.round(Math.random()*4)
if (x==0) x=sound1
else if (x==1) x=sound2
else if (x==2) x=sound3
else if (x==3) x=sound4
else x=sound5
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">')
else
document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
RED PART= REPLACE IT WITH THE FIVE SWF MUSIC FILES YOUV CHOSEN
and compile it in your js file...