Forums

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

Home Forums Other Tackling Mobile Sub Menus

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41344
    ChrisP
    Participant

    Hi all,

    I have been working on a project for a little bit now, and I’ve come to a fork in the road, and need some guidance.

    The navigation menu for my project has a sub menu for two tabs, and a second sub menu for one of those tabs.

    Up until recently, I’ve been committed to just giving the the sub menu the ol’ `display: none` for my convenience, but I realize this isn’t the best approach, as I’m limiting the experience for mobile users.

    I’m curious to how other people approach this, my thought is there’s probably some jquery out there to disable anchor tags, then change the pseudo-class from :hover to :focus on smaller screens to display the sub menu.

    Does anybody have experience with this?

    #117451
    Paulie_D
    Member

    You know that you could set the hover and focus properties to the same don’t you?

    In fact it’s recommended.

    #117458
    Paulie_D
    Member
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.