Is there a way to eliminate the annoying 'flicker' effect on my menu?
Whenever I click on 'Dropdown 1', I notice that Test 1
and Test 2
flicker. My assumption is that this is due to my use of the !important
declaration.
Any suggestions or solutions?
$(document).ready(function($) {
$('.inline').find('.navtoggle').click(function(){
//Expand or collapse this panel
$(this).next().slideToggle('fast');
//Hide the other panels
$(".sub-menu").not($(this).next()).slideUp('fast');
});
});