Forums

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

Home Forums CSS Dropdown Menu Not Working on iPad

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38453
    realph
    Participant

    I wonder if anyone can help me out with this problem I’m having. I’m using a dropdown menu as part of my navigation on this site, and it works fine on the desktop. When you hover over “The Apartments”, the dropdown menu appears.

    The problem I’m having is on devices such as the iPad. Because the “The Apartments” parent links to page, when you tap “The Apartments” on the iPad the dropdown menu only appears for a brief second before the next page is loaded, making the dropdown un-viewable on certain devices.

    Any idea on how I can solve this problem?

    You can view the site here: http://www.zakopanerentals.com/2013

    #104194
    Paulie_D
    Member

    Hover doesn’t work well (if at all) on the Ipad. I think there is a JS solution that makes it a two click event.

    Try Google for Hover replacement & Ipad

    #104195
    Senff
    Participant

    You can only make this work if you make the top level menu (“The apartments”) NOT a link to another page, or at least not directly clickable, on iPad.

    If you want to detect the device and make that different from desktops, OR change it so that it’s not clickable on any device, that’s up to you.

    #104196
    realph
    Participant

    @senff That’s what it seems I’m going to have to do, and maybe make “The Apartments” the first child list item.

    I’m sure I’ve seen this on other sites though, where you tap for the hover state and tap again to go to the page.

    #104197
    Paulie_D
    Member

    Yeah, as I said, it’s a JS thing to make it do that….I think.

    #104199
    Senff
    Participant

    Or responsive! :D

    But then it might base things (making them linkable or not) on detecting the screen size, not the device. For that, you’ll definitely have to use JS.

    Te actual “first tap = hover, second tap = click” thing was recently discussed here.

    #104208
    realph
    Participant

    @senff Is there a way to still retain my opacity transition with this?

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