FREE CODE Friday, 03.29.2024, 4:05 PM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
۞Forum Statistics۞
NEW TOPPIV
HOT TOPPIC
TOP MEMBERS
NEW MEMBERS
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • shadow text Have(0) reviews faxuhi
  • Beautiful text two Have(0) reviews faxuhi
  • Nice menu with java script <p1> Have(2) reviews faxuhi
  • Mouse Clock Have(1) reviews faxuhi
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • faxuhi[189]Bài
  • mcsnagger0022[0]Bài
  • thinknoodles[0]Bài
  • karaganis888[0]Bài
  • faxuhi [189]Bài
  • mcsnagger0022 [0]Bài
  • thinknoodles [0]Bài
  • karaganis888 [0]Bài
    • Page 1 of 1
    • 1
    Forum » Web Javascript » Text dance in status bar 3 » Text dance in status bar 3
    Text dance in status bar 3
    faxuhiDate: Sunday, 07.24.2011, 12:27 PM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <!-- Start of Typing Text Script -->
    <HTML>
    <HEAD>
    <SCRIPT LANGUAGE="JavaScript">

    var speed = 100  
    var pause = 1000  
    var timerID = null
    var texttype = false
    var ar = new Array()

    ar[0] = "This is the Typing Text Javascript"
    ar[1] = "CoffeeCup Software is cool!"
    ar[2] = "El HTML Editor++ es muy bueno!"

    var msgnow = 0
    var offset = 0

    function stopBanner() {
             if (texttype)
                     clearTimeout(timerID)
             texttype = false
    }

    function startBanner() {
             stopBanner()
             showBanner()
    }

    function showBanner() {
             var text = ar[msgnow]

             if (offset < text.length) {
                     if (text.charAt(offset) == " ")
                             offset++                         

                     var partialMessage = text.substring(0, offset + 1)  
                     window.status = partialMessage
                     offset++  
                     timerID = setTimeout("showBanner()", speed)
                     texttype = true
             } else {
                     offset = 0
                     msgnow++
                     if (msgnow == ar.length)
                             msgnow = 0

                     timerID = setTimeout("showBanner()", pause)
                     texttype = true
             }
    }

    </SCRIPT>
    </HEAD>
    <BODY onLoad="startBanner()">
    </BODY>
    </HTML>
    <!-- END OF SCRIPT -->
     
    Forum » Web Javascript » Text dance in status bar 3 » Text dance in status bar 3
    • Page 1 of 1
    • 1
    Search:

    Copyright MyCorp © 2024 Website builderuCoz