...

View Full Version : Page jumps



quartzy
06-06-2010, 02:52 AM
I have a single page on the site I am working on, www.tenembee .org.uk/news-and-events.html, (no spaces in URL)this page jumps to the right around 80px each time it is viewed, none of the other pages do this, and the only thing different is the addition of a javascript on this page so I wonder if this is making it do that or something else. If you need some code let me know what.
thanks

optimus203
06-06-2010, 03:01 AM
what browser are you seeing this jump in? I can't seem to re-create the effect.

quartzy
06-06-2010, 03:35 AM
Hello
I am using Firefox the latest version.
thanks

Excavator
06-06-2010, 03:53 AM
I'm seeing News and Events jump over the width of the scrollbar that disappears on that page. All the other pages have one.
My browser is set to 1744x1022 right now.

See http://nopeople.com/CSS/vertical_scrollbar/index.html

Apostropartheid
06-06-2010, 06:38 AM
But that wouldn't explain a jump to the right nor a change of 80 pixels (Windows scrollbars are about 30). I'm not seeing it (WebKit).

quartzy
06-06-2010, 02:07 PM
I will add overflow y-scroll to the css but still have the jumping problem, very strange.

Excavator
06-07-2010, 02:32 AM
But that wouldn't explain a jump to the right nor a change of 80 pixels (Windows scrollbars are about 30). I'm not seeing it (WebKit).

No jump to the right here.
Jumps to the left for the scrollbar, that's it.

quartzy
06-07-2010, 02:39 AM
Jumps to the left for the scrollbar, would you know how I can fix that? Maybe that is the problem and I cannot see that in my browser.

quartzy
06-07-2010, 02:41 AM
The CSS is the same for all of the pages on the layout, so wonder what is causing the jump or scroll to move over.

Apostropartheid
06-07-2010, 03:19 AM
No jump to the right here.
Jumps to the left for the scrollbar, that's it.

Exactly, but the OP stated it was a jump to the right.

I can't see it in Firefox either. At this point, really, pics or it didn't happen.

quartzy
06-07-2010, 01:14 PM
Perhaps it is a jump to the left, and not the right, does anyone know how to fix it though? The tabbed box, does expand so I wonder if this is causing the scroll to be further down. Dont know how to attach images on this forum

Excavator
06-07-2010, 03:24 PM
Jumps to the left for the scrollbar, would you know how I can fix that? Maybe that is the problem and I cannot see that in my browser.

That is normally fixed by forcing a y-scrollbar, even on pages that are not long enough to require one.
Look at the link in my first reply.

quartzy
06-08-2010, 12:48 AM
I tried the overflow-y:scroll; and it is not valid code for my doctype.

Could you please code how I should do this and will it work on the body tag or what tag?
thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum