Forums / Templates, Stylesheets, Page Layout / Annoying jumping of the content of my site!

Annoying jumping of the content of my site!

Started by gth73bg on 6 Aug 2011, 6:13 PM · Views: 945

Results 1 to 7 of 7
6 Aug 2011, 6:13 PM
#1
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Annoying jumping of the content of my site!

Hi,after another attempt to do my thing and with my lack of experience and bad English, I think that I again ruined something! The problem is that in Internet Explorer 8 and 9,regardless of whether the compatibility option is turned on or off, when refresh the page, content on webpage jump to right for a second and then returns to its place. I test it with Opera, Safari, Google Chrome and Mozilla Firefox and everything looks good, the problem is only with IE.
I would be grateful if someone help me, thank you!
Zen cart 1.3.9h
http://gthlaptopsandparts.com

6 Aug 2011, 6:29 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Annoying jumping of the content of my site!

I'm not seeing the 'jump' in IE8.

6 Aug 2011, 10:45 PM
#3
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Annoying jumping of the content of my site!

Hi stevesh, after reading your comment, I decided to test my website again.
Here are the results: Opera, Safari, Google Chrome, Mozilla Firefox and IE7 - absolutely perfect!
But when it comes to IE8, IE9 and IE9 Compatibility view, then the problems begin.
What I mean. Open my website and start clicking on the logo, gthlaptopsandparts.com to refresh the page. Do this several times, at least 10, because sometimes it makes it on every click, sometimes not. And soon I hope you will understand what I mean.
Thank you again for the reply and please excuse my bad English.:smartalec:

7 Aug 2011, 10:10 AM
#4
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

Re: Annoying jumping of the content of my site!

The jumping may be to do with the browser determining whether a vertical scroll bar is required or not.

7 Aug 2011, 8:08 PM
#5
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Annoying jumping of the content of my site!

I found something related to this problem. I was deleted everything in the bmz_cache folder. After the website is cached again, no more jumping!
I do not know whether this is normal and what is the problem, but I'm happy now that everything is as before.
Thank you all!

8 Aug 2011, 4:16 PM
#6
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Annoying jumping of the content of my site!

Actually it turns out that the problem is somewhere in html_header.php. I have two different html_header.php files.
When you put one of them in \public_html\includes\templates\MyTemplates\common, jump starts. Change it with the other, no jumping.
I tried to find the difference between the two file with WinMerge, but for me it is like trying to read Egyptian hieroglyphs:unsure:
Anyway, the problem is solved, If anyone has similar problem, this thread can at least guide him a little in the situation.
Also, if someone wants to examine both html_header.php, can send me PM and I will post them here.
Thank you all

7 Mar 2012, 3:30 PM
#7
igi2011 avatar

igi2011

New Zenner

Join Date:
Oct 2011
Location:
Kent, UK
Posts:
50
Plugin Contributions:
0

Re: Annoying jumping of the content of my site!

dw08gm:

The jumping may be to do with the browser determining whether a vertical scroll bar is required or not.

I had the exact same problem with the page jumping and your post about scrollbars led me to the solution - posting it here for anyone else who needs it:

Add

html {overflow-y:scroll;}

to your template's stylesheet.css

Works a treat.