Slider does not load properly after vs 1.5.8
-
I’ve been using your Twenty20 Image Before After plugin on a couple of websites. Thank you for this wonderful plugin.
But I’m having a before-after slider load issue after the recent changes. The image load behavior has become unpredictable. Sometimes it loads perfectly, other times only a few of the slider loads while sometimes none of the slider loads at all.
I tracked the changelog and saw that you’ve made this change: https://plugins.trac.www.ads-software.com/changeset/2696600
It is correct to fix the uncaught TypeError, but you need to wrap jquery code in ‘window.on(“load”, function(‘ like before instead of ‘jQuery(document).ready(function($)’ for it to function predictably. I have currently manually placed the following code to solve both of the issues.
$output .= ‘<script>jQuery( document ).ready(function( $ ) {‘;
$output .= ‘$(window).on(“load”, function() {‘;I hope the next version will implement this code so that the intermittent slider load issue does not occur.
- The topic ‘Slider does not load properly after vs 1.5.8’ is closed to new replies.