PDA

View Full Version : Pausing up-down message scroller - text cutting off



schmodi
04-28-2005, 03:13 PM
Script: pausing up down message scroller (http://www.dynamicdrive.com/dynamicindex2/crosstick.htm)

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 (http://www.joschmo2.com/accent/ACCENT_index.htm)

Thanks!

jscheuer1
04-28-2005, 05:19 PM
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:


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


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.

schmodi
04-28-2005, 09:47 PM
Woo hoo! That got it! Thank you very, very much.

OrignlCin
01-03-2007, 12:05 AM
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

ddadmin
01-03-2007, 04:28 AM
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):


.someclass {
FONT-SIZE: 10pt;
text-align: left;
margin-left: auto;
margin-right: auto;
}

The code in red is new.

OrignlCin
01-04-2007, 12:21 AM
Thank you! Worked perfectly :)

Cindy