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

Home Forums JavaScript Small issue toggle(); on mobile.

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #158452

    Hey all!

    This seems like a pretty simple thing to fix but I just can’t seem to figure it out.

    The problem I’m having occurs on mobile devices. (iphone 5 right now) When I click my menu icon, I toggle the menu pushing all the content down which is perfect. When you press the icon again to close the menu, it retracts but the content doesn’t go back to it’s original position. It stay down as if the menu is still visible.

    Any idea why?

    In my javascript, i’m using hide() to conceal the menu and then using toggle to make it visible/not visible.

    It would be awesome to put this behind me!

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