I would like to modify javascript trigger 'ready' and 'ajaxStop' for Lazy Load plugin
$(document).ready(function() {
$("img.lazy").lazyload({
threshold:50,
skip_invisible : false,
effect: "fadeIn"
}).removeClass("lazy");
});
$(document).ajaxStop(function() {
$("img.lazy").lazyload({
threshold:50,
skip_invisible : false,
effect: "fadeIn"
}).removeClass("lazy");
});
It should be something like this:
$(document).any-possible-function(function() {
...
});
To minimize the code, Please help with modification.