Results 1 to 6 of 6

Thread: Pausing up-down message scroller - text cutting off

  1. #1
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing up-down message scroller - text cutting off

    Script: pausing up down message scroller

    Hi. Love this script. Slight bug. On IE6, it cuts off part of the text on the right side. I've tried using percentages, and fixed width and making it in a table cell with 90% width...same thing. Mozilla is fine. Can someone help me?

    Here's my page:
    Site Link

    Thanks!

  2. #2
    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

    You have alot going on in that page. I was unable, to my satisfaction to determine why but, it appears this line needs to be changed:

    Code:
    document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:10px;top:0px">')
    to this:

    Code:
    document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';left:10px;top:0px">')
    This is probably due to a number of factors in your layout's style combined with IE's own quirks and the fact that you have set the width for the scroller in percent as opposed to pixels. Elimination of any single one of these factors (other than not using IE) did not remedy the situation, the above change however, does and still looks fine in NS.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks!

    Woo hoo! That got it! Thank you very, very much.

  4. #4
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I seem to be having the same problem (IE7) but I don't see that specific line in my script.

    http://www.equitainer.com/index-test.htm

    Great script - hope I can get it to work.

    Thanks
    Cindy

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Cindy:
    In your case, you can get things to look right by adding the below code to your .someclass selector (in the HEAD section of your page):

    Code:
    .someclass {
    	FONT-SIZE: 10pt;
    	text-align: left;
    	margin-left: auto;
    	margin-right: auto;
    }
    The code in red is new.

  6. #6
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you! Worked perfectly

    Cindy

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
  •