Script Categories













Background Effects >>> Sound.

Due to the different nature that Netscape and other browsers use a background sound, getting it to work for your visitors can be difficult unless you use this script. It will determine which browser they have and print the background sound command correctly for that browser!

Step 1: Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!--  Begin
var MSIE=navigator.userAgent.indexOf("MSIE");
var NETS=navigator.userAgent.indexOf("Netscape");
var OPER=navigator.userAgent.indexOf("Opera");
if((MSIE>-1) || (OPER>-1)) {
document.write("<BGSOUND SRC='unchain.mid' LOOP=INFINITE>");
}

document.write("<EMBED SRC='unchain.mid' AUTOSTART=TRUE>");
document.write("<HIDDEN=true VOLUME=100 LOOP=TRUE>");
// End -->
</script>

Step 2: The script uses a sound file as part of its interface. You can create your own, or use the below :

Click to download the sound file

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

baca manga online: Komiku tv


©