-
AuthorPosts
-
May 7, 2019 at 12:48 pm #1098062
Hi
I am trying to disable the delay on the sub menu roll out, it looks as if there is an opacity moving from 0 to 1 that is causing the delay but I cannot for the life of me find it to remove.
I have checked the forum for solutions but the suggestions seem outdated as the suggested code in the .js files to change is not where it use to be.
Any help much appreciated!
May 9, 2019 at 7:30 am #1098765Hey zerodotnine,
I checked your site but it appears you have no submenu items under the ‘Escape’.
Please check again and get back to us so we can help you better.
Best regards,
VinayMay 9, 2019 at 10:00 am #1098821This reply has been marked as private.May 10, 2019 at 6:38 pm #1099387Hi,
Did you need additional help or shall we close this topic?
Best regards,
Jordan ShannonMay 14, 2019 at 11:57 am #1100484This reply has been marked as private.May 14, 2019 at 3:19 pm #1100594Hi,
Same issue?
Best regards,
Jordan ShannonMay 14, 2019 at 3:44 pm #1100631Hi Jordan
Yes, same issue, unfortunately I have not been able to remove the delay when rolling off a sub menu
May 17, 2019 at 3:50 am #1101610Hi,
Thanks for the update.
You may need to modify the js > avia-snippet-megamenu.js file for that. Look for the this line:
// bind events for dropdown menu
Try to specify the duration of the animate function.
Best regards,
IsmaelMay 17, 2019 at 11:15 am #1101726Hi Ismael
Thank you for the suggestion and for taking a look, this is the file I’ve been changing the values in and nothing seems to make a difference.
I’ve tried adding the animate value and unfortunately it doesn’t make a difference to the delay:
// bind events for dropdown menu dropdownItems.find('li').addBack().each(function() { var currentItem = $(this), sublist = currentItem.find('ul:first'), showList = false; if(sublist.length) { sublist.css({display:'block', opacity:0, visibility:'hidden'}); var currentLink = currentItem.find('>a'); currentLink.bind('mouseenter', function() { sublist.stop().css({visibility:'visible'}).animate({opacity:1}); }); currentItem.bind('mouseleave', function() { sublist.stop().animate({opacity:0},100, function() { sublist.css({visibility:'hidden'}); }); }); } });
May 20, 2019 at 4:06 am #1102356Hi,
Thanks for the update.
We tested it by changing the duration value to 10000 and it worked. The sub menu container stayed visible for 10 full seconds before disappearing. Please don’t forget to toggle the Performance > File Compression settings, or purge the plugin cache after adjusting the duration value.
Did you add any custom modification for the menu?
Best regards,
IsmaelMay 20, 2019 at 1:08 pm #1102469Excellent, thank you it was the Performance > File Compression settings!
Thanks so much, have an awesome day
May 20, 2019 at 6:35 pm #1102532Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Sub menu roll out delay’ is closed to new replies.