-
AuthorPosts
-
May 17, 2014 at 9:50 pm #266195
Hi support team,
I would like to get a fixed dropdown menu. So a dropdown menu that opens when you click and remains open when you go away with your mouse. Is this possible?
Here are some example’s what I mean: https://www.fbto.nl | http://www.centraalbeheer.nl
May 18, 2014 at 12:21 pm #266277Hey Miikey!
Thank you for using the theme!
Yes, it is somehow possible but this is beyond the scope of support. You can try to edit js > avia.js, find this code on line 1030:
currentLink.bind('mouseenter', function() { sublist.stop().css({visibility:'visible'}).animate({opacity:1}); }); currentItem.bind('mouseleave', function() { sublist.stop().animate({opacity:0}, function() { sublist.css({visibility:'hidden'}); }); });
Replace it with:
currentLink.bind('click', function() { sublist.stop().css({visibility:'visible'}).animate({opacity:1}); }); currentItem.bind('mouseenter', function() { sublist.stop().animate({opacity:0}, function() { sublist.css({visibility:'hidden'}); }); });
Best regards,
IsmaelMay 18, 2014 at 2:42 pm #266303Hi Ismael.
Thanks for you replay.
Unfortunately, this does not change the operation.
I thought this was easy to change. This would have the usability of a mega menu increased. It can not be changed?Greetz Miikey
May 18, 2014 at 6:56 pm #266383Note that when you click a menu item it will go to that Page unless it doesn’t have a link, so it’s not that easy. As Ismael said this is out of scope of the support we can offer. If you really need it try contacting a developer.
Regards,
JosueMay 18, 2014 at 7:29 pm #266398Hi Josue,
I no that, but I will use a custom link and set # to make only a new name that is not clickable in the menu. Now if you go over with your mouse the mega menu comes out. But is it so hard to make it not mouse over but clickable out?
Had expected it would be possible, with a simple adjustment. Thank you for thinking, but I will leave it as is.
Great avening.
Miikey -
AuthorPosts
- The topic ‘Fixed menu’ is closed to new replies.