Display submenu by hovering page element
-
I am struggling with this: I am trying to display one particular submenu when hovering image which is somewhere on page. I found jQuery code that could achieve it, but it is not working. I modified IDs to correspond with my menu.
<script> $( ".obr-hl-strana" ).hover( function($) { $('a.open-a-panel').on('click', function(e) { e.preventDefault(); var panelToShow = $("#mega-menu-item-16 > a.mega-menu-link"); $('#mega-menu-header-menu').data('maxmegamenu').showPanel(panelToShow); }); } ); </script>
Can anyone help with this please?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display submenu by hovering page element’ is closed to new replies.