1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development status bar help

Discussion in 'Software' started by duffman123456789, 29 Jan 2005.

  1. duffman123456789

    duffman123456789 What's a Dremel?

    Joined:
    26 Jan 2005
    Posts:
    21
    Likes Received:
    0
    i have this code that will display text in the status barand i cant figure out if you can change the text color.

    <script language="JavaScript">
    <!--
    var wait = 75 //sleep time until next letter (milliseconds)
    var message = new Array()
    message[0] = "Welcome To _=DUFF=_ site"
    message[1] = "_=DUFF=_ site is currently hosted by"
    message[2] = "YANABOO"
    message[3] = "visit there site at http://www.yanaboo.com"
    message[4] = "©2005 Kevin Duffelmeyer. All rights reserved"
    var msgs =4 //Number of message (0 is first)

    var temp = "" //Do not modify these... (recommended)
    var curmsg = 0
    var a = 0
    var counter = 0

    function typew()
    {
    a = a + 1
    check()
    window.status = message[curmsg].substring(0, a)
    if(a == message[curmsg].length + 5)
    {
    curmsg = curmsg + 1
    a = 0
    }
    if(curmsg > msgs)
    {
    curmsg = 0 }
    counter = setTimeout("typew()", wait)
    }
    function check()
    {
    if(a <= message[curmsg].length)
    {
    if(message[curmsg].substring(a, a + 1) == "")
    {
    a = a + 1
    check()
    }
    }
    }
    typew();
    //-->
    </SCRIPT>

    i would like to take the yanaboo and make it yanaboo

    thanks in advanced
     
  2. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Not possible mate :thumb:

    There's a typo in your message though - "there" should be "their" in message[3] :thumb:
     
  3. TekMonkey

    TekMonkey I enjoy cheese.

    Joined:
    6 Dec 2002
    Posts:
    3,081
    Likes Received:
    0
    BTW, I think displaying scrolling text in the status bar is annoying as hell. Just a friendly tip. :thumb:
     
  4. duffman123456789

    duffman123456789 What's a Dremel?

    Joined:
    26 Jan 2005
    Posts:
    21
    Likes Received:
    0
    thnx

    ***edited***
     
  5. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Just edited all that code and warez links out of your post mate - try just explaining the problem rather than posting 10 million lines of HTML :thumb:
     
  6. duffman123456789

    duffman123456789 What's a Dremel?

    Joined:
    26 Jan 2005
    Posts:
    21
    Likes Received:
    0
    sorry about that rtt didnt think of the music that way... im new to the frum
     
  7. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    No problem, thanks for understanding :thumb:
     

Share This Page