Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
// Set Variables
var search_toggle = 'closed';

jQuery(document).ready(function() {

// Main Menu Drop Down
jQuery('ul#main-menu').superfish({
delay: 600,
animation: {opacity:'show',height:'show'},
speed: 'fast',
autoArrows: true,
dropShadows: false
});

// Accordion
jQuery( ".accordion" ).accordion( { autoHeight: false } );

// Toggle
jQuery( ".toggle > .inner" ).hide();
jQuery(".toggle .title").toggle(function(){
jQuery(this).addClass("active").closest('.toggle').find('.inner').slideDown(200, 'easeOutCirc');
}, function () {
jQuery(this).removeClass("active").closest('.toggle').find('.inner').slideUp(200, 'easeOutCirc');
});

What I have tried:

my jquery menu sliding down menu is too slow ????? how to make it fast ??? I have tried many codes but it didn't work ...
Posted
Updated 8-Feb-17 20:07pm

1 solution

That first parameter in
slideDown(200, 
is for you to prescribe the speed of animation in mini second, if you want the action to be faster, reduce the number. Same for slideUp(). Learn jQuery slideDown() Method[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900