FREE CODE Sunday, 12.16.2018, 1:54 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
  • HTML table placeholder Have(0) reviews faxuhi
  • Html graphic bullets Have(0) reviews faxuhi
  • Different times of the world by the users choice from a list Have(0) reviews faxuhi
  • Mouseover Alert HTML Script Have(0) reviews faxuhi
  • Redirect to another page and link automatically to other pg Have(0) reviews faxuhi
  • Combo box link box to browse your website easily Have(0) reviews faxuhi
  • Message to user by clicking a button Have(0) reviews faxuhi
  • Background changing color effect 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 » Moving text status » Moving text status
    Moving text status
    faxuhiDate: Sunday, 07.24.2011, 11:09 AM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydat -->

    <BODY onLoad="timerONE=window.setTimeout('slide(120,0)',20);">

    <SCRIPT LANGUAGE="JavaScript">

    function slide(jumpSpaces,position) {
    var msg = "This JavaScript will slide in your desired message....Cool...isn't it???.......drink more coffee"
    var out = ""
    if (endScroll) {return false}
    for (var i=0; i<position; i++)
    {out += msg.charAt(i)}
    for (i=1;i<jumpSpaces;i++)
    {out += " "}
    out += msg.charAt(position)
    window.status = out
    if (jumpSpaces <= 1) {
    position++
    if (msg.charAt(position) == ' ')
    {position++ }
    jumpSpaces = 100-position
    } else if (jumpSpaces > 3)
    {jumpSpaces *= .75}
    else
    {jumpSpaces--}
    if (position != msg.length) {
    var cmd = "slide(" + jumpSpaces + "," + position + ")";
    scrollID = window.setTimeout(cmd,5);
    } else {
    scrolling = false
    return false
    }
    return true
    }
    function ccSetup() {
    if (scrolling)
    if (!confirm('Re-initialize slide?'))
    return false
    endScroll = true
    scrolling = true
    var killID = window.setTimeout('endScroll=false',6)
    scrollID = window.setTimeout('slide(100,0)',10)
    return true
    }
    var scrollID = Object
    var scrolling = false
    var endScroll = false
    </SCRIPT>
    <font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
     
    Forum » Web Javascript » Moving text status » Moving text status
    • Page 1 of 1
    • 1
    Search:

    Copyright MyCorp © 2018 Website builderuCoz