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

Home Forums CSS Need to add jquery accordion to navigation, selector issues

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #30993

    I’m trying to add a dynamic page accordion and I don’t think I am targeting my selectors correctly. This is my code:

    {//hide child page
    $('#content ul li').hide();
    //when navigate to a child page show all pages
    $('#content li.current-menu-item').parent("ul").show();
    //show page list when toggle
    $('#content ul ul').show();
    //show cerrent page's child page
    $('#content ul li.current-menu-item ul').show();

    $('#content .menu ul li').click(function() {


    and my site:

    Thanks in advance for any help!!!

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