Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript IE issue

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #146783
    gabbagabba
    Participant

    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.

    #146794
    Paulie_D
    Member

    Which version of IE?

    #146798
    Senff
    Participant

    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.

    #146799
    Paulie_D
    Member

    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.

    #146804
    gabbagabba
    Participant

    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.

    #146807
    Paulie_D
    Member

    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>
    
    #146809
    Senff
    Participant

    I think older versions of IE may not support/recognize document.body.scrollTop.

    Try the jQuery function $(window).scrollTop() instead.

    #146897
    gabbagabba
    Participant

    Senff: Thanks! That did the trick.
    Using $(window).scrollTop()

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.