when using jquery.lazyload.js to lazily load pictures, when you encounter a tab bar switch, you have to manually scroll the page to load the picture. How to load the picture in the visual area by default when you click the tab bar switch?
found some information and tried it according to some statements on the Internet:
$("img").lazyload({
skip_invisible: false
});
the method is not valid.
tried to trigger through events,
var timer = setTimeout(function(){
$("img").lazyload({
event: "sporty"
})
},3000);
this method is not successful either, and it doesn"t seem to be good.
have you ever encountered this kind of problem? is there a good solution?