Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter t3sla

    (@t3sla)

    Obviously the previous post.
    1. Colorbox solved the problem in actual version .
    2. My version of the Plugin is old, But I use WordPress internal plugin search.
    3. WordPress notice me recently 1.7.0 update 1 week later -_- of the plugin install, sorry for the confusion.

    Thread Starter t3sla

    (@t3sla)

    My JQuery version is:
    //cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js

    …Jquery did not recognize .live() function, so the change to .on() in the scritp [js_front.js].

    Colorbox author says in the website:
    “Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+”.

    But, Some users choose different JQuery versions and encounter this problem.

    Moreover, Jquery API documentation says:
    “As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().”
    Link to documentation

    I hope to clarify the doubt. And as a community to solve the problem, Greetings from Peru

    Thread Starter t3sla

    (@t3sla)

    Hello Sed Lex, JQuery use .live() function to version 1.3, and change to .on() since version 1.7 .live() documentation
    I think could create a select with jquery versions in the plugin settings or use:

    $.fn.jquery
    //or if you're using .noConflict():
    jQuery.fn.jquery

    …and the script print: .on(), .live() or .delegate() in the javascript

Viewing 3 replies - 1 through 3 (of 3 total)