»
EnglishFrenchVietnamese

Print - Animated text in status bar - JavaScriptBank.com

Full version: jsB@nk » Status » Status » Animated text in status bar
URL: http://www.javascriptbank.com/animated-text-in-status-bar.html

Animated text in status bar © JavaScriptBank.comThe script display a srolling message in status bar. Look like it's being typed.

Full version: jsB@nk » Status » Status » Animated text in status bar
URL: http://www.javascriptbank.com/animated-text-in-status-bar.html



JavaScript
<SCRIPT language=JavaScript>function scrollBanner(seed) {var speed = 1                            var str = " "                                              var ar = new Array()                    ar[0] = "My Name Is Sanjiv Vinaik"          var total = ar.join("")                  if (seed > 0) {for (var i = 0; i < seed; ++i) {     str += " "}str += total;        seed--;var cmd = "scrollBanner(" + seed + ")"window.status = strtimerID = setTimeout(cmd, speed)       } else if (-seed < total.length) {str += total.substring(-seed, total.length)seed--var cmd = "scrollBanner(" + seed + ")"window.status = strtimerID = setTimeout(cmd, speed)} else {window.status = str timerID = setTimeout("scrollBanner(100)", speed)}}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->