Forums

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

Home Forums JavaScript Is there a way to keep an unordered list open?

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

    I have a pages menu located on the right here: http://themeforward.com/demo2/?page_id=2451

    Here is the jQuery: http://themeforward.com/demo2/wp-content/themes/Law%20Firm%20Template/scripts/jquery.dcjqaccordion.2.9.js

    When the .active class is added to a ul li, I want to keep that unordered list open. For example… when a user is on “Criminal Law” I want to keep its submenu open with Clerk’s Hearings and Appeals.

    Is there a way to do this that doesn’t use CSS3?

    #167549
    Anonymous
    Inactive

    I think it already does that. Or do you want it to remain open when the user clicks on the sub-menu and goes to the next page?

    #167558
    siouxfan45
    Participant

    I would like to keep the submenu of the current subpage open. For example, when I’m on “Clerk’s Hearings” (under the Criminal Law parent page) the Criminal Law submenu should remain open. Just not sure where to start on this one or what type of script would accomplish that.

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