Line 51: | Line 51: | ||
$(".sidesubmenu").not(sidesubmenu).hide(); | $(".sidesubmenu").not(sidesubmenu).hide(); | ||
+ | |||
+ | flag = $('#accordion').find('#5'); | ||
+ | |||
+ | //Expand or collapse this panel | ||
+ | topsubmenu = $(flag).find('.topsubmenu'); | ||
+ | topsubmenu.show(); | ||
+ | |||
+ | |||
+ | |||
+ | //Hide the other panels | ||
+ | $(".topsubmenu").not(topsubmenu).hide(); | ||
</script> | </script> |
Revision as of 16:29, 13 October 2016