kossae9000 — 2011-12-29T10:08:32-05:00 — #1
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!
paul_wilkins — 2012-01-02T23:21:03-05:00 — #2
Is it possible for us to take a look at a page that exhibits the problem?
kossae9000 — 2012-01-03T08:05:29-05:00 — #3
I was actually able to achieve my result with the .not() selector in jQuery apparently. Thanks!
kossae9000 — 2012-01-03T11:11:48-05:00 — #4
Actually, in IE this method doesn't seem to be working properly for some reason. Does anyone know how to fix this?
Hover over the navigation and observe the behavior. Thanks for your help!
paul_wilkins — 2012-01-04T22:34:56-05:00 — #5
There doesn't seem to be anything wrong when hovering over it. Can you please describe in fuller detail what the problem is, and which version of IE you see it in?
kossae9000 — 2012-01-05T13:18:24-05:00 — #6
I apologize. I disabled the effect for demonstration purposes to someone and forgot to enable it again. See if it works now if you could. Thanks.
paul_wilkins — 2012-01-05T16:41:04-05:00 — #7
I still don't see a problem. Can you please describe in fuller detail what the problem is, and which version of IE you see it in?