»
AnglaisFranaisVietnamien

Imprimer - Floating Texte script II - JavaScriptBank.com

Version complte: jsB@nk » Texte » Animation » Floating Texte script II
URL: http://www.javascriptbank.com/floating-text-script-ii.html

Floating Texte script II © JavaScriptBank.comCet Le code JavaScript rend le texte qui peut flotter sur la position dépend de barres de défilement.

Version complte: jsB@nk » Texte » Animation » Floating Texte script II
URL: http://www.javascriptbank.com/floating-text-script-ii.html



JavaScript
<script language="JavaScript"><!-- Begin// Instructions:// jmornin@gateway.net.// First, declare the variablesvar mover = nullvar object = "menu"// Check if browser is Netscape. If it is, assign a certain value to "mover"if (navigator.appName.indexOf("Netscape") != -1) {var mover = "document.menu.top = window.pageYOffset"}// If the browser is not Netscape, assign a different value to "mover"else {var mover = "menu.style.pixelTop = document.body.scrollTop"}// Now the functionfunction check() {object = "menu"eval(mover)setTimeout("check()", 10) // The number after "check()" is in milliseconds (lower number = less lag time)}// End of the code --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onload="check()"><div id="menu" style="position: relative;">JavaScriptBank.com - Bank of over 2000+ free JavaScripts</div></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->