I got it to trigger by calling… if(typeof fn===’function’) lazyLoadXT();
you can try with jQuery:
jQuery(‘yourimageselector’).lazyLoadXT({show:true});
it works, loads all the images matching the selector. useful when your lazy images are in a hidden div or tab and you want them to load on click.
-
This reply was modified 7 years, 6 months ago by
glowzar.
-
This reply was modified 7 years, 6 months ago by
glowzar.
This gives me Uncaught TypeError: $(…).lazyLoadXT is not a function
Did you load lazy load before your script?
also make sure to replace $ for jQuery.
google for “replace
$ jQuery wordpress”
and find out why.
that should work.