Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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!

    #1098765

    Hey 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,
    Vinay

    #1098821
    This reply has been marked as private.
    #1099387

    Hi,

    Did you need additional help or shall we close this topic?

    Best regards,
    Jordan Shannon

    #1100484
    This reply has been marked as private.
    #1100594

    Hi,

    Same issue?

    Best regards,
    Jordan Shannon

    #1100631

    Hi Jordan

    Yes, same issue, unfortunately I have not been able to remove the delay when rolling off a sub menu

    #1101610

    Hi,

    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,
    Ismael

    #1101726

    Hi 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'});
    						});
    					});
    
    				}
    
    			});
    #1102356

    Hi,

    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,
    Ismael

    #1102469

    Excellent, thank you it was the Performance > File Compression settings!

    Thanks so much, have an awesome day

    #1102532

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Sub menu roll out delay’ is closed to new replies.