Forums

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

Home Forums JavaScript Jquery drop down menu make ul stay selected

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37899
    Al3ks
    Participant

    Hello everyone,

    I am developing a website with jquery drop down menus.

    I have the ul in a horizontal menu with text links once hovered the link is highlighted with a background color & drop down pops up. But if i move my mouse down on teh drop down menu links the top link is no longer highlighted.

    is there a way to make teh top links stay highlighted with background color even when i move my cursor down to the links in drop down?

    Would appreciate some help.

    #102235
    SgtLegend
    Member

    Simply give the parent anchor element a class of active or current and when you roll off simply remove that class, easiest way to do it.

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