AbdelGawad (Talk | contribs) |
AbdelGawad (Talk | contribs) |
||
Line 19: | Line 19: | ||
function menu_functionality() { | function menu_functionality() { | ||
− | + | ||
− | + | ||
+ | |||
+ | $( '.menu_button' ).hover( | ||
+ | function(){ | ||
+ | $(this).children('.submenu_wrapper').slideDown(200); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).children('.submenu_wrapper').slideUp(200); | ||
+ | } | ||
+ | ); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu |
Revision as of 20:41, 7 August 2017