I believe conflict with other library are due to the use of the $ that many library use.
jQuery don't have to use it. You just need to add at the end the jQuery file//You now only can use jQuery with jQuery(); jQuery.noConflict();or//you now can use jQuery with jQuery() or $j() $j() = jQuery.noConflict();
When you use jQuery plugins, you have to be sure that the use jQuery() and not $(). For the official plugins, I think that only Thickbox use $(). That's easy to fix.
Stash - I'm the one who reported the page reordering conflict with the Page Manager, but I don't believe JQuery is the problem - I think JQThickBox is causing the issue. I've tried it with JQuery version 1.1.2 enabled (with JQTB disabled), and I am able to reorder pages just fine. If I enable JQTB, then I cannot reorder pages.
Dinoboff, I'm sure you're right, it took me a while to figure out exactly what all the instructions on jquery.com meant. I'll take a closer look at that and see about modding my variation of Thickbox to replace $().
Tom, that's a thought. At this point though I'd be going back a version number, so I wonder, will this screw up the updates system with the add-ons site?
Dinoboff, using that I get$j is not defined jquery.js Line 2 However, using this seems to do the trick:var $j = jQuery.noConflict(); Any particular reason I shouldn't use this?
So ur going to package jquery with conflict resolution u cannot just use addstring, cause all addscripts appear first then addstrings appear. no matter what the sequence u enable it.
+ Updated the JS library to jQuery 1.1.4. + Changed the version numbering scheme to a simple RELEASENUMBER-JQUERY_VERSION_NUMBER. So for this release — v12-1.1.4 — the v12 refers to release 12 (count 'em) using version 1.1.4 of the jQuery JS library. Hopefully this will be an improvement and less confusing for people. If you have a view on this one way or another,please leave feedback in the addon discussion.
I can't see a bugfix for the JQuery extension in the JQMedia thread — please link directly to the comment in quesiton (use the #numbers to the right of the blockuser/comment links on the right of the comment).
P.S. Mark, uploading RAR files no longer seems to work as I get the following error: You are not allowed to upload (JQuery-v12-1.1.4.rar) the requested file type: application/force-download
Looks like a great fix - but it's not my extension unfortunately, so I can't do anything to it since I'm not an admin. Have you tried contacting MSB directly?
+ Updated the JS library to jQuery 1.2.1. + Changed the default jQuery library to a minified version instead of packed (for clientside decode speed up). I have also included the packed, original uncompressed and gzip versions of all the above. If gzip works for you, the best one is the gzipped min file (even though it's 1kb bigger than the gzipped pack file). Just edit line 29 to whatever suits you best $Head->AddScript('extensions/JQuery/jquery-1.2.1.min.js'); - Removed the /src/ directory from the package as it is now unecessary.
I'm having a problem here Luke... After upgrading to the latest version, JQMedia won't work. See this page, the YouTube video isn't showing up and I made sure to disable all the extensions, enable JQuery first then the rest.
Comments
jQuery don't have to use it. You just need to add at the end the jQuery file
//You now only can use jQuery with jQuery();orjQuery.noConflict();
//you now can use jQuery with jQuery() or $j()$j() = jQuery.noConflict();
When you use jQuery plugins, you have to be sure that the use jQuery() and not $(). For the official plugins, I think that only Thickbox use $(). That's easy to fix.
see jQuery page: Using jQuery with Other Libraries
jQuery.noConflict();
// Put all your code in your document ready area
jQuery(document).ready(function($){
// Do jQuery stuff using $
$("div").hide();
});
stash it would be nice if ur extension version matches the official jquery versions
so 1.1.3 should be with 1.1.3 jquery
{tangent} did you see this: Interface Elements for JQ and the latest JQuery-Ext alpha by Jack Slocum? Whoo! {/tangent}
I'm the one who reported the page reordering conflict with the Page Manager, but I don't believe JQuery is the problem - I think JQThickBox is causing the issue. I've tried it with JQuery version 1.1.2 enabled (with JQTB disabled), and I am able to reorder pages just fine. If I enable JQTB, then I cannot reorder pages.
Tom, that's a thought. At this point though I'd be going back a version number, so I wonder, will this screw up the updates system with the add-ons site?
$j() = jQuery.noConflict();to jquery.js in the jQuery extension and replace the "$" by "jQuery" in Thickbox.js.$j is not definedjquery.js Line 2
However, using this seems to do the trick:
var $j = jQuery.noConflict();Any particular reason I shouldn't use this?
u cannot just use addstring, cause all addscripts appear first then addstrings appear.
no matter what the sequence u enable it.
v12-1.1.4 Released 2007-08-27
+ Updated the JS library to jQuery 1.1.4.
+ Changed the version numbering scheme to a simple RELEASENUMBER-JQUERY_VERSION_NUMBER.
So for this release — v12-1.1.4 — the v12 refers to release 12 (count 'em) using version 1.1.4
of the jQuery JS library. Hopefully this will be an improvement and less confusing for people.
If you have a view on this one way or another,please leave feedback in the addon discussion.
P.S. Mark, uploading RAR files no longer seems to work as I get the following error:
JQMedia # 81
v13-1.2.1 Released 2007-09-19
+ Updated the JS library to jQuery 1.2.1.
+ Changed the default jQuery library to a minified version instead of packed
(for clientside decode speed up). I have also included the packed, original
uncompressed and gzip versions of all the above. If gzip works for you, the
best one is the gzipped min file (even though it's 1kb bigger than the
gzipped pack file). Just edit line 29 to whatever suits you best
$Head->AddScript('extensions/JQuery/jquery-1.2.1.min.js');
- Removed the /src/ directory from the package as it is now unecessary.
After upgrading to the latest version, JQMedia won't work. See this page, the YouTube video isn't showing up and I made sure to disable all the extensions, enable JQuery first then the rest.
Any thoughts?!