1
2
3
4
5 jQuery('#menu-primary > li').hover(function() {
var index = jQuery(this).index();
jQuery('#pager a').eq([index]).trigger('click');
return false;
});
wp_nav_menu()
December 8, 2012/ Updated: December 8, 2012
About a 1 minute read
"There is one thing one has to have: either a soul that is cheerful by nature, or a soul made cheerful by work, love, art, and knowledge."
1
2
3
4
5 jQuery('#menu-primary > li').hover(function() {
var index = jQuery(this).index();
jQuery('#pager a').eq([index]).trigger('click');
return false;
});