»
AnglaisFran�aisVietnamien

Imprimer - Simple Contexte Scroller - JavaScriptBank.com

Version compl�te: jsB@nk » Arrière-plan » Simple Contexte Scroller
URL: https://www.javascriptbank.com/simple-background-scroller.html

Simple Contexte Scroller © JavaScriptBank.comAvez-vous encore utiliser ennuyeux background-image? Essayez la nouvelle base au lieu de défilement! Il charge beaucoup plus rapidement que n'importe quel applet java ou image de fond. C'est certainement plus d'informations, et impressionnant. Et il ne fait pas perdre votre précieux de la place car il fonctionne entièrement à l'arrière-plan. Très facile à installer et à configurer.

Version compl�te: jsB@nk » Arrière-plan » Simple Contexte Scroller
URL: https://www.javascriptbank.com/simple-background-scroller.html



CSS
<STYLE>.ticker {COLOR: #dddddd; FONT-FAMILY: Verdana; FONT-SIZE: 60px; LETTER-SPACING: 1px; POSITION: absolute}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script language="javascript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/<!-- Beginning of JavaScript -// Simple Background Scroller// Author: Peter Gehrig // Web Site: http://www.24fun.com var y=300var bgtickerfunction initObjects() {if (document.all) {bgticker = document.all.bgtick.stylebgticker.posLeft = 0bgticker.posTop = 400mainbody = document.all.mainbod.stylemainbody.posLeft = 0mainbody.posTop = 0}if (document.layers) {bgticker = document.bgtickbgticker.left = 0bgticker.top = 300mainbody = document.mainbodmainbody.left = 0mainbody.top = 0}scroll()}function scroll() {if (y > -200) {y--if (document.all) {bgticker.posTop = y; mainbody.posTop=0}if (document.layers) {bgticker.top = y; mainbody.top=0}}else {y=300}var timer = setTimeout('scroll()',20)}// - End of JavaScript - --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=initObjects()><DIV class=ticker id=bgtick style="z-index: -100;">Promote your site, your JavaScripts and DHTML samples and your mother-in-law's pottery shop. Our visitors - more than 500 dedicated javascripters per day - will study your ideas and rush directly to your site. Most of them are JavaScript- and DHTML-addicts seeking new ways to brush up their webpages. </DIV><DIV id=mainbod style="VISIBILITY: visible; z-index: 100;"></DIV></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->