Home › Forums › Support › drop-down menu speed › Reply To: drop-down menu speed
January 19, 2016 at 2:08 am
#166625
Patrick
Hello Tom,
I want to get rid of the delay too, I added this code to the wp_footer hook and aktivated php but it didn’t work. Where do I have to add the code to have my main Navigation without delay?
<script>
jQuery( window ).load( function() {
jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu.destroy();
jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu({
transition_speed: 0,
open_delay: 0,
close_delay: 0
});
});
</script>