»
AnglaisFranaisVietnamien

Imprimer - Flashy DHTML Scroller - JavaScriptBank.com

Version complte: jsB@nk » Browser » Page effet » Flashy DHTML Scroller
URL: http://www.javascriptbank.com/flashy-dhtml-scroller.html

Flashy DHTML Scroller © JavaScriptBank.comFlashy DHTML Scroller, IE 5 + et Opera 7 + seulement. A Very Catchy Scroller enarges que lui-même, font-size, fades arrière-plan et la couleur de premier plan et, bien sûr, par le biais de boucles de phrases.

Version complte: jsB@nk » Browser » Page effet » Flashy DHTML Scroller
URL: http://www.javascriptbank.com/flashy-dhtml-scroller.html



CSS
<STYLE type=text/css>A {COLOR: lightyellow}A:hover {COLOR: #00ff00}</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 type=text/javascript><!--// Flashy DHTML Scroller by Richard Huckovar message=new Array("<h2>Hello World!!!</h2>Welcome to http://javascriptbank.com, Home of Quality JavaScripts and DHTML Effects. <br />Go to the CATEGORIES Section to Find the Appropriate JavaScript For YOU!<br />Hope You Enjoy!<br />","<h2>Featuring:</h2><left><ul><li>Splash Intro Pages</li><li>Menus</li><li>Scrollers</li><li>Text Effects</li><li>Games</li><li>and Much More . . .</li></ul></left>","Make Sure to Book Mark Us!!!<br />Check Out Our Forums . . . <br /> and Last but Not Least, Have Fun!!!","if you have any Questions or Comments Click on the Contact Link above and to your right, if there is none, Click on the Home Button.");effect={ wcount:0, MAXSIZE:300, MAXTSIZE:20, cnt:0, gcount:0, cntr:255, cntr2:0, T:10, pcnt:0, pause:true, apply:function() {  if(this.wcount<this.MAXSIZE){   with(document.getElementById('sid0').style)  {   backgroundColor="red"; width=this.wcount; height=this.wcount; color="white"; textAlign="center"; fontWeight="bold"; this.wcount+=3;  } } else if(this.cnt<=this.MAXTSIZE) {   this.T=40;   document.getElementById('sid0').innerHTML=message[this.gcount];   document.getElementById('sid0').style.fontSize=this.cnt; this.cnt+=2; } else if(this.cntr>100) { with(document.getElementById('sid0').style)  {   backgroundColor="rgb("+this.cntr+","+this.cntr+","+this.cntr+")"; color="rgb(0,0,0)";  } this.cntr-=10; } else if(this.cntr2<=255) {  this.T=20;  document.getElementById('sid0').style.color="rgb("+this.cntr2+","+this.cntr2+","+this.cntr2+")"; this.cntr2+=4; } else if(this.pause==true) {   if(this.pcnt==200)   this.pause=false; // - Pause to allow user some time to read... then go to next phase this.pcnt++; }  else if(this.gcount<message.length-1) {   document.getElementById('sid0').innerHTML="";   with(this) {   gcount++;wcount=0;cnt=0;cntr=255;cntr2=0;T=10;pause=true;pcnt=0; } } else {   this.gcount=-1; } setTimeout("effect.apply();",this.T); }}window.onload=main;function main(){ if(navigator.appName!='Netscape')   effect.apply(); else   netscape();}var Richard_Huckos__JavaScript_Effect=new Array();function netscape(){  document.getElementById('sid0').style.color="white";Richard_Huckos__JavaScript_Effect=message.join("<br /><br />");  document.getElementById('sid0').innerHTML=Richard_Huckos__JavaScript_Effect;}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<SPAN id=sid0></SPAN><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->