Results 1 to 10 of 10

Thread: Xanga help!

  1. #1
    Join Date
    Dec 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Xanga help!

    Does anyone know how to put a scrolling text at the bottom of the page. You kno where it says openig page.... loading page....ect....
    PLEASE HELP THANKS!
    Last edited by Maniac0908; 12-28-2004 at 07:36 PM.

  2. #2
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    like where is says done?
    cant find link, but here is the script:
    just replace the xxxxxxxx's with what you want to say.
    and you can add more messages, just change the var msgs = number you have


    <script language="JavaScript">
    <!--
    var wait = 100 //sleep time until next letter (milliseconds)
    var message = new Array()
    message[0] = "xxxxxxx "
    message[1] = "xxxxxxx "
    message[2] = "xxxxxxx "
    message[3] = "xxxxxxx "
    var msgs = 3 //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>


    edit: add this script to head... i got this from dd, its there somewhere.
    Last edited by darco9x2; 12-30-2004 at 11:38 PM. Reason: need to add script to head

  3. #3
    Join Date
    Dec 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It still doesnt work. Does it need to be in a certain spot in the header? like the top or the bottom? check my site out www.xanga.com/maniac0908 c if it works for u. it might be my computer or something.

  4. #4
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    well for your style, i think you need
    <!--
    and --> or just use a style sheet
    and i dont even see the script in the scource, so did you even add it and then save?

  5. #5
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I hate to revive a dead thread, but this is not working for me. If someone could be so kind to pay me a visit at: http://www.xanga.com/home.aspx?user=andrewman327 and look at my source, I'd be much obliged.

    Thanks

  6. #6
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Still can you marquee

    Maniac0908 you can still use marquee for that.
    ------------------------------------------------------------------------------------------------------------

    <html>
    <body>
    <marquee><a href="xxxxxxx.htm/html">Your text</a> <a href="xxxxxxx.htm/html">Your text</a></marquee>
    </body>
    </html>
    ------------------------------------------------------------------------------------------------------------
    Replace the xxxxx with your file names and your text with your text.
    ------------------------------------------------------------------------------------------------------------

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Change:
    Code:
    typew();
    at the end of the script to:
    Code:
    setInterval("typew()",wait);
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmmm, still not working. When I do that, it shows an error, and the status bar doesn't change at all. I tried with and without quotes, and it's the same.

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Works here. I see in your code you now have:
    Code:
    (typew(),wait);
    That's not what I suggested, use:
    Code:
    setInterval("typew()",wait);
    I copied your page and it is working here. What kind of error were you getting?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Does anyone know where that script is?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •