- This topic has 1 reply, 2 voices, and was last updated 12 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – jQuery noConflict command prevents other scripts from loadin
Tagged: jquery noconflict
Hi there,
I have uncovered a nasty little jQuery bug in which the WP Lightbox Ultimate Plugin prevents the Premise plugin (from Copyblogger) from working properly. This is when using the Premise “tab scroller” page
here is a 2-minute screencast I just recorded to illustrate:
http://screencast.com/t/DUkwPbfrP
Your code calls a command called jQuery.noConflict(), which prevents the Premise tab scroller from loading properly.
I have sent this message to the developers of the Premise plugin as well, but I thought you’d like to know. Is the jQuery.noconflict() call really necessary? The only way I can get the page to load properly is to comment it out.
Here’s the link to the Premise plugin: http://getpremise.com/
I’m using:
WordPress 3.4.2
Premise 2.2.1
WP Lightbox Ultimate 1.8.4
Thanks,
Nick
Hi, Thanks for the screencast. It’s not actually a bug in our plugin. We have included that code to make the plugin compatible with other plugins that don’t follow the WordPress guideline:
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Some developers just hardcode the jQuery library. It causes various issues when you install another plugin (like Lightbox Ultimate) that requires the jQuery library as well. jQuery.noConflict() is very useful when there are multiple versions of the jQuery library on the same page. You can read more about it here:
Can you please share the link to the page where you are having this issue? jQuery errors are very tricky. Even though the error is coming from a piece of code the source of the issue might be somewhere else. We want to rule out that possibility first.