-
AuthorPosts
-
March 28, 2014 at 11:13 am #27404
NumberockParticipantI’d been having issues integrating MemberMouse and X, which have been solved through some redirect hacks (as described here: http://theme.co/x/member/forums/topic/jquery-ui-1-8-update/).
However, now my Ninja-Kick nav mod won’t work, and in fact breaks the off-canvas link as well. Not sure what’s going on, as I kept the jquery-ui-1-8 file; I simply redirected enque scripts to ui-10.
The mod consists of adding:
jQuery(function($) { // on DOM ready
jQuery(‘a[href*=”domain.com/contact”]’).addClass(‘ncf_trigger_element’);
})to the top of: ninja-contact-form.min.js
Strange? Everything was working well until I solved my MM problem. The floating off-canvas link still works, for what it’s worth. I assume it’s another jquery linking issue, but haven’t tracked it down yet…
Any thoughts? Has anyone had the same problem? Fixes?
Best, Chris.
March 28, 2014 at 11:17 am #27407
NumberockParticipantI should clarify: the off-canvas link works if I take out the mod; if I include it then both go down (and the nav mod has never worked post MemberMouse hack). The rest of the site is unaffected.
Thanks!
March 31, 2014 at 9:16 am #28101
AlexanderKeymasterHi Chris,
Can you check the javascript console for errors? In Chrome go to “View -> Developer -> Javascript Console” and in Firefox you can go to “Tools -> Web Developer -> Console”
See anything suspicious in there?
With multiple plugins, (and X) using jquery-ui, you could run into version conflicts. Best case scenario is that all developers work from the versions bundled with WordPress core (keeps everyone on the same page) But this isn’t always the case.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-27404 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
