View Full Version : Strange Scrollbar behavior in IE6
NeoDeltaI
01-30-2003, 12:39 AM
I've just realized that the scrollbar on my site goes crazy. The slider part seems to change size at random, and if you shorten the width of the browser window, sometimes it won't scroll all the way down to the bottom of the page. There's no javascript error associated with this, so I'm not sure where to start debugging. I know it has something to do with the Javascript; when I took it out of the page, the scrollbar returned to normal.
Have any of you heard or experienced this apparent bug in IE6? I haven't tested seeing the page in Netscape, so it may do the same thing in that browser...
My page is http://users.rcn.com/bjjudy
If needed, I can post my scripts, but to save space, I figured I'd see if any of you know what may be causing this beforehand.
Thanks in advance for your time and help!
Roy Sinclair
01-30-2003, 06:53 PM
Disable the clock and the countdown and see if the problem disappears.
NeoDeltaI
01-30-2003, 08:58 PM
Yeah, I tried doing that, and the problem goes away. But only if I disable everything. If I leave the date, time, or countdown on, it scrollbars go crazy... The only thing left to do is re-code all the javascript, but I wanted to see if anyone knew what was causing this beforehand, save me a few hours debugging. :D
Roy Sinclair
01-31-2003, 07:00 PM
Since the scrollbar is supposed to change length and position according to the length of the web page and the relative position of the viewable portion of the page I would look at the scripts and see where they are playing with the position of objects. It looks like they may be moving objects around instead of hiding/showing them and that would explain the jumpy behavior of the scrollbar.
NeoDeltaI
01-31-2003, 11:34 PM
The only scripts in there are re-writing the date, clock, and countdown (through .innerHTML)... One strange thing that happened, I added this to the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
And the scrollbar problem went away... But some of the CSS positioning didn't work afterwards (and I couldn't change the color of the scrollbars either, I found out)... So it's kinda like choosing the lesser of two evils at the moment...
I guess for now, I'm just gonna work on redoing the whole page layout. It'll give me a chance to keep practicing, and stop me from putting a fist through my screen.:)
Thanks for your help, though!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.