Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1334622
    kendricka
    Participant

    Hi there,

    I am using Edit Global Javascript to execute a couple of scripts, to expand and collapse some Archive widgets. Everything works well when I use an element selector, eg

    jQuery(function($){
    $(‘#nav_menu-8.widget_nav_menu h4’).click(function(){
    //$(‘.widget_nav_menu div’).toggleClass(‘show’);
    $(‘#nav_menu-8.widget_nav_menu div’).toggleClass(‘show’);
    });
    });

    #1334670
    Paul R
    Moderator
  • <script> jQuery(function($){ $("#no-reply-1334622 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>