AbdelGawad (Talk | contribs) |
AbdelGawad (Talk | contribs) |
||
Line 33: | Line 33: | ||
$(".submenu_button").hover(function(){ | $(".submenu_button").hover(function(){ | ||
− | + | // add or remove the class "open" , this class holds the "-" | |
+ | $(this).children().toggleClass("open"); | ||
// show or hide the submenu | // show or hide the submenu | ||
$(this).next('.submenu_wrapper').fadeToggle(1000); | $(this).next('.submenu_wrapper').fadeToggle(1000); |
Revision as of 20:21, 7 August 2017