Some jQuery functionality loading, but .click function not working
-
I am working with a custom themed wordpress site that only uses static pages for content management (no posts).
I am trying to clean up some of the pages so that the content is presented with jQuery tabs instead of link after link after link going down the page.
I currently have the tabbed content showing (with only the first tab showing, so it looks like the jQuery .hide()function is working. But when I click on the tabs, the content doesn’t change (though it does work outside of wordpress). (example: https://datadrivendetroit.org/toolbox/).
I am using the code I found here: https://justintadlock.com/archives/2007/11/07/how-to-create-tabs-using-jquery
header.php looks like this (yes, it’s a bit of a mess):
[Code moderated as per the Forum Rules. Please use the pastebin]
I am not seeing any relevant errors in Firebug and am confused why it seems to be all loaded and should be working, though only goes half the way.
any help would be greatly appreciated.
- The topic ‘Some jQuery functionality loading, but .click function not working’ is closed to new replies.