#content ul.menu, try
the problem is the way your using. console show this error: $ is not a function.. WordPress has a protection to avoid script conflicts (or something like that)…
There’s two away to override this. First and easier (but not always work) is by changing the
I’ve just changed the
... li.current-menu-item ul ...to
... li.current-menu-parent ul ...
Also, if you want to have the accordion effect on click, You must remove the link from the parent menu title, or every click will load a page and you won’t see the effect
Still, its not working. It seems like its almost there. Thank you again for all of your help
that’s because you’re using
jQueryon your code (like
jquery(document).ready…). try it
I’m getting the error that
jquery is not defined
also, I’m calling to jquery via the wordpress
<?php wp_enqueue_script('jquery'); ?>
maybe if that gives you more insight.
it’s capital Q not J, and this correction is in your script code, not the wordpress jquery call function
no problem… that’s the meaning of community.. =)
if you still have question or need help for other projects, feel free to contact me on gtalk
rsirotheau [at] gmail [dot] com
and please mark this topic as solved (top right menu)
- The topic ‘Need to add jquery accordion to navigation’ is closed to new replies.