»
EnglishFrenchVietnamese

Print - Credits - JavaScriptBank.com

Full version: jsB@nk » Scrollers » Vertical scroller » Credits
URL: https://www.javascriptbank.com/credits.html

Credits © JavaScriptBank.comWith this effect, you can show the credits of your website to visitors. Very cool.

Full version: jsB@nk » Scrollers » Vertical scroller » Credits
URL: https://www.javascriptbank.com/credits.html



CSS
<STYLE type=text/css>#creditsControls {LEFT: 350px; POSITION: absolute; TOP: 150px; WIDTH: 250px; Z-INDEX: 1}H1 {COLOR: #000080; TEXT-ALIGN: center}H2 {COLOR: #ff0000; TEXT-ALIGN: center}#credits {LEFT: 30px; POSITION: absolute; TOP: 200px; WIDTH: 300px; Z-INDEX: -2}</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><!--var p=parent,v='test';p.name=v;  //global variables  var layerRef="null",layerStyleRef="null",styleSwitch="null",topStopPoint="null",layerRef="null",styleSwitch="null",currtop=-100;  var topStopPoint=-700,d=document.referrer;  var backupTopStopPoint=topStopPoint;  var currTop=200;  var pxSwitch="null";  var moving=1;  var k=0;  function init()  {    if (navigator.appName == "Netscape")    {      layerStyleRef="layer.";      layerRef="document.layers";      styleSwitch="";      pxSwitch="";    }    else    {      layerStyleRef="layer.style.";      layerRef="document.all";      styleSwitch=".style";      pxSwitch="px";    }    moveLayerUp('credits',k);  }  function pause(layerName)  {    moving*=-1;    if(moving<0)      topStopPoint=currTop+pxSwitch;    else    {      topStopPoint=backupTopStopPoint;      moveLayerUp(layerName,k);    }    }  function restart(layerName)  {    k++;    currTop=200;   topStopPoint=backupTopStopPoint;    if(moving<0)    {      moving*=-1;      moveLayerUp(layerName,k);    }  }  function moveLayerUp(layerName,n)  {     if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top != topStopPoint'))    {      currTop-=4;      eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top = currTop');      setTimeout('moveLayerUp("'+layerName+'",'+n+')',50);    }  }//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=init()><A href="javascript:pause('credits');">Pause/ Continue</A><BR><A href="javascript:restart('credits');">Restart</A></B><DIV id=credits><H1>Production:</H1><H2>Name of Production</H2><BR><BR><H1>Programming</H1><H2>Name of programmers</H2><BR><BR><H1>HTML Developer</H1><H2>Name of HTML Developers</H2><BR><BR><H1>Tool</H1></DIV></DIV></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->