Forums

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

Home Forums JavaScript Simple jQuery Dropdowns using ‘onclick’ help

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33823
    jeanette12
    Member

    I’m using the CSS/jQuery menu here based on Chris’s work – https://css-tricks.com/2282-simple-jquery-dropdowns/

    Now, my problem is, I want the menu to be an ‘onclick’ instead of ‘hover’ I’ve tried various methods like altering the making the “

    #84602
    jjkktr
    Member

    Try this:
    $(“ul.dropdown li”).toggle insted of $(“ul.dropdown li”).hover

    Thanks

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