»
EnglishFrenchVietnamese

Print - Heritage-Tech Simple Title Scroller - JavaScriptBank.com

Full version: jsB@nk » Status » Title » Heritage-Tech Simple Title Scroller
URL: https://www.javascriptbank.com/heritage-tech-simple-title-scroller.html

Heritage-Tech Simple Title Scroller © JavaScriptBank.comScroll your document's title into view (in IE4+ and NS6). Useful, for example, to display long titles. You can configure the scrolling to run just once, or perpetually.

Full version: jsB@nk » Status » Title » Heritage-Tech Simple Title Scroller
URL: https://www.javascriptbank.com/heritage-tech-simple-title-scroller.html



JavaScript
<SCRIPT>//Arrow Head title- By Dynamic Drive//Based on status bar script by Jason Rex ([email protected], http://www.syred.net)//Visit http://www.dynamicdrive.com for full source code//change title text to your own    var titletext=" JavaScriptBank.com "    var thetext=""    var started=false    var step=0    var times=1    function welcometext()    {      times--      if (times==0)      {        if (started==false)        {          started = true;          document.title = titletext;          setTimeout("anim()",1);        }        thetext = titletext;      }    }    function showstatustext(txt)    {      thetext = txt;      setTimeout("welcometext()",4000)      times++    }    function anim()    {      step++      if (step==7) {step=1}      if (step==1) {document.title='>==='+thetext+'===<'}      if (step==2) {document.title='=>=='+thetext+'==<='}      if (step==3) {document.title='>=>='+thetext+'=<=<'}      if (step==4) {document.title='=>=>'+thetext+'<=<='}      if (step==5) {document.title='==>='+thetext+'=<=='}      if (step==6) {document.title='===>'+thetext+'<==='}      setTimeout("anim()",200);    }if (document.title)window.onload=onload=welcometext</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->