Hello,
I have recently started with wordpress. Knowing next to nothing about javascript and/ jquery, I have downloaded a theme that makes excellent use of these. However, recently my menu started flashing like crazy when mouse over. I'm sorry, I really am a newbie at this.
The URL to my site is www.surreal-exposure.com
And here is the specific code for that menu:
function menu() {
$('ul.menu li').hover(function() { $(this).not('ul.sub-menu li').find('a:eq(0)').stop().animate({ paddingLeft: '20px'}, {queue:false, duration: 100 }).removeClass('theme_color_1').addClass('theme_color_2'); $(this).find('ul:eq(0)').show(); }, function(){ $(this).not('ul.sub-menu li').find('a:eq(0)').stop().animate({ paddingLeft: '10px'}, {queue:false, duration: 100 }).removeClass('theme_color_2').addClass('theme_color_1'); $(this).find('ul').hide();
}); }
Offcourse, I would like it to stop blinking at all, and just open the submenu under and next to portfolio. Please help me with this!
Thanks in advance,
Contemplated
Contemplated