- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › IE issue
http://www.tomrerdahl.no/gabba
I have a hidden menu that appears when you scroll down on the website. But it doesn’t show in IE. Any ideas? Thanks.
Which version of IE?
Are you talking about the arrow at the bottom right (it’s not a menu, but the only thing I see that appears when you scroll down)?
That’s working for me in IE8 and up, just like in all other browsers.
Initially the menu is at the top…then it vanishes and re-appears after a certain amount of scrolling…at least in Chrome.
In IE…it doesn’t come back.
Frankly, I can’t see the point…why not position:fixed it to the top and be done with all that…but that’s just me.
I agree to some point, Paulie. But at the moment, this is what my client wants.
I tried it in IE 10. But assume it doesnt work in 7,8 or 9 either.
Senff: its not the arrow, but a horizontal menu, pretty similar to the one see. And it appears when scroll down on the page. Slides in from the top.
Insofar as it works in Chrome, I’m assuming is a JS conflict with IE and this being affected:
<a href="#" class="scrollup" style="display: none;"></a>
I think older versions of IE may not support/recognize document.body.scrollTop
.
Try the jQuery function $(window).scrollTop()
instead.
Senff: Thanks! That did the trick.
Using $(window).scrollTop()