Keeping window top of page -crossbrowser issue

Associate
Joined
15 Feb 2011
Posts
11
Hi Guys
You actually helped me out some weeks ago with an issue over using the hash in a function to locate a named anchor.
I have another dilema sort of related to that issue.
Please see
http://simplydzine.com
All pages (excpet the index) have a number of horizontally scrolling divs which scroll left or right using jquery.
You'll notice a row of large buttons on each page below the main content block.
Below such buttons are vertical submenues.

My task is to have each item of the submenus locate the corresponding anchor/div when clicked.
If the submenus within the same page are clicked, all works fine, however when the submenus are clicked trying to get from one page to the corresponding div on another page it works but...

the browser won't stay at the top of the page, it moves down to locate the anchor sending the page head & logo out of view.
I have used the function window.scrollTo(0,0) which keeps everything steady in FF but in IE and Chrome it doesnt hold the browser to the top.
My question...
could any body offer a fix for IE or Chrome or tell me how I can keep the window at the top of the page in ALL 3 browsers when clicking on any of the submenu links?
Any help is MUCH appreciated.
THANKS
Steve
 
sorry to be off topic but thought i'd add a bit of advice. if you're offering graphic design services you really do need good graphics on you website which is selling that service. those buttons at the bottom are amateur and could do with a complete retry.
 
Firstly, you have an error on swf object, try removing that and see if it works in IE/Chrome... IE can be a rectal pain if the JS is not strict.

Otherwise if you are using scroll to try setting the target div to #header this might work...

I'm have having trouble finding the scrolling content you are talking about.... can you post a direct link to one of the sub pages?
 
Many thanks for the interest Stugoo.
Will look into the swf error.
I attach a page to better demonstrate.
THANKS
sample.jpg
 
Not quite related to your problem, but I found that your site is scrolling quite a long way vertically. I noticed you have 200% height set on the backfade div, if you remove this it will fix that issue. I'm not sure of the reason why you put 200% height, or maybe it was a mistake?
 
Yeah...thanks Mart2919
I have a hidden div to cover entire screen with message if java disabled ...must have entered 200% not 100%.
So nice you all take the time to make these helpful observations...Thanks
S
 
Back
Top Bottom