Advanced Search

Results 1 to 4 of 4

Thread: Scroller doesn't show up

  1. #1
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scroller doesn't show up

    1) Script Title: Typing Scroller

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...typescroll.htm

    3) Describe problem: I've pasted the typing scroller code on my site, but the text doesn't show up.
    I'm guessing this might be because the background of my website (www.ringsideboxingshow.com) is black, and so is the text.
    If this is the case, can somebody tell me how to change the color of the text?

    Thank you.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,158
    Thanks
    28
    Thanked 623 Times in 619 Posts
    Blog Entries
    1

    Default

    Change:
    Code:
    document.write('<form name="bannerform">')
    document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
    document.write('  style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
    document.write('</form>')
    \
    To:
    Code:
    document.write('<form name="bannerform">')
    document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
    document.write('  style="background-color: '+document.bgColor+'; color: #fff; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
    document.write('</form>')
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,709
    Thanks
    43
    Thanked 3,134 Times in 3,098 Posts
    Blog Entries
    12

    Default

    Ah, but that's not the real problem. The background color of the 'typer' is white, so the text color should be black and currently is. The script is old though, so you should edit it where Nile says and change the background color there as well to get the background and the text colors to match the rest of the page or to be whatever you want them to be, and to be legible.

    However, a real problem is that you have have put the script in your source code twice. This script can only be used once per page. If it is used more than once, none of them will work.

    There could also be other problems.
    - John
    ________________________

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

  4. #4
    Join Date
    Jan 2008
    Posts
    4,158
    Thanks
    28
    Thanked 623 Times in 619 Posts
    Blog Entries
    1

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
  •