Table,lines And Gb Sound For Funmobile
Started on the old forum in July 2007 · view the original in the archive · old links redirect here
background sound?.. if its for the web use javascript
<script TYPE="text/javascript"> <!-- var filename="hazy_shade_of_winter.mid"; if (navigator.appName == "Microsoft Internet Explorer") document.writeln ('<BGSOUND SRC="' + filename + '">'); else if (navigator.appName == "Netscape") document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60> '); // --> </SCRIPT> <NOSCRIPT> <BGSOUND SRC="hazy_shade_of_winter.mid"> </NOSCRIPT>Or just use plain html and add the bg sound in the header just like this other wap site i rememba seing..think it was http://s60.org
background sound?.. if its for the web use javascript
<script TYPE="text/javascript"> <!-- var filename="hazy_shade_of_winter.mid"; if (navigator.appName == "Microsoft Internet Explorer") document.writeln ('<BGSOUND SRC="' + filename + '">'); else if (navigator.appName == "Netscape") document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60> '); // --> </SCRIPT> <NOSCRIPT> <BGSOUND SRC="hazy_shade_of_winter.mid"> </NOSCRIPT>
the script doesnt work in internet explorer
the script doesnt work in internet explorer
change var filename="hazy_shade_of_winter.mid"; to the the song you want to play that has been uploaded then change <BGSOUND SRC="hazy_shade_of_winter.mid"> to the song name aswel...
It should work fine... if not then i'll have to study javascript a bit more lol
or another way
<script Language="JavaScript"> <!-- if (document.all) document.write('<script Language="JavaScript" Src="amphtml.js"></Script><script Language="JavaScript" Src="amp.js"></Script>')else var start=""; //--> </Script>
<script> <!-- if (document.all){ audiodiv.style.posTop=0; audiodiv.style.posLeft=0; autostart=true //Add below your song entries songurl[0]="song1.mid" songtitle[0]="Song title 1" songurl[1]="song2.mid" songtitle[1]="Song title 2" } //--> </Script> <script for="jsaudio" event="OpenComplete()" Language="JavaScript"> <!-- if (document.all){ if (start) loaded() } //--> </Script> <script for="jsaudio" event="Error(a,b,c,d)" Language="JavaScript"> <!-- if (start) if (document.all){ err=b+""; if(err.match('Cannot open')) f404() } //--> </Script>pmpl ok i did it myself in a different way for those ppl who wants to add bgsound on ur funmobile script add it this way
echo "<BGSOUND SRC="http://geocities.com/milukicksass/sound.wav" />";
its the only way i found if u have more than share it, say like playin sound Repeatedly or randomly or turn sound off etc.