I have copied a very simple JQuery delayed overlay popup into WordPress, yet it’s not working at all. I believe it is something within Wordrpess, as when I move the code outside the WP generated pages (http://beta.ohsinsider.com/wp-content/themes/arthemia/overlay_test.html) it works fine, yet in WP it doesn’t work at all (http://beta.ohsinsider.com/).
What am I missing here? What extra steps do I need to do to get this overlay to work with WordPress?
Right now your include of jQuery Tools being negated by other jQuery includes
Here’s what’s happening on your site, in order:
So what’s happening is jQuery tools is being included, but it’s erased when the second jQuery include overwrites
jQuery(and again with the last include).Multiple versions of jQuery in the same page aren’t supported, in fact this causes issues just like you’re experiencing. Include one version of jQuery, only once and before your plugins.
For the updated site/new code, here’s the order:
…so now the error is jQuery tools (at least that version), doesn’t work on jQuery 1.2.3, it’s erroring because it’s incompatible.