toymakerlabs / kenburns

A Jquery gallery featuring CSS3 hardware accelerated pan-and-zoom, Ken Burns style transitions.
161 stars 65 forks source link

Issues with new versions of jQuery #25

Open robertbethge opened 7 years ago

robertbethge commented 7 years ago

I tried to use the plugin with newer versions of jQuery (in my case: 3.1.1) required by WP, but ran into some issues. There were all easy to, fix though:

  1. The load(function() {})) method on line 125 needs to be replaced with on('load', function(){}).
  2. The size() method on line 404 needs to be replaced with the equivalent length property.

Then it started working just fine.

JimCook57 commented 6 years ago

Thank you! You saved me a bunch of work.