Hey everyone. I am trying to find a workaround to this navigation bar problem I am having with Wordpress and jQuery. Here is the site:
So far the jQuery calls are working as planned, dimming each nav button on rollover. However, I want to NOT select the child ul’s of the nav menu. For instance, rolling over Contact displays a Child Page (still formatting of course), but it too dims once displayed. The “navwrapper” I surrounded my tags in also encapsulates this ul because it is next to the li of the parent list. After looking around, I’ve tried this bit of code:
var thumbs = $('#menu-navigation > li');
As Wordpress generates this id for the main ul in navigation. The only thing making this a bit difficult for me is that WP generates nav’s dynamically and I still need to keep this functionality. I’m sure this is just a small fix somewhere. If anyone could help that would be great. Thanks in advance!