Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

JQuery

StashStash
edited February 2010 in Vanilla 1.0 Help
JQuery
«13456

Comments

  • Options
    Uploaded version 1.1.3 of JQuery.
  • Options
    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.

    see jQuery page: Using jQuery with Other Libraries
  • Options
    i'm using the third option
    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
  • Options
    I know it would be nice, but then how do I fix problems with my extension? ;)
  • Options
    Use dates as version numbers. 1.1.2.070317?!?

    {tangent} did you see this: Interface Elements for JQ and the latest JQuery-Ext alpha by Jack Slocum? Whoo! {/tangent}
  • Options
    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.
  • Options
    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?
  • Options
    You should add $j() = jQuery.noConflict(); to jquery.js in the jQuery extension and replace the "$" by "jQuery" in Thickbox.js.
  • Options
    this extension gives java error on ie7 it says "error: 'jQuery' is undefined"
  • Options
    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?
  • Options
    lol, sorry I just forgot the 'var'.
  • Options
    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.
  • Options
    Uploaded version 1.1.4 of JQuery.
  • Options
    Uploaded version 1.1.5 of JQuery.
  • Options
    How about updating to the latest jQuery 1.1.3.1?
  • Options
    Uploaded version 1.1.6 of JQuery.
  • Options
    Thanks for the heads up skube :)
  • Options
    Uploaded version v12-1.1.4 of JQuery.
  • Options
    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.
  • Options
    stash, please check the jqmedia thread for a bugfix.
Sign In or Register to comment.