trying to override overlib function

This commit is contained in:
Travis Hegner
2015-06-29 13:44:19 -04:00
parent f86bbb96b0
commit 3597a948fd
3 changed files with 23 additions and 10 deletions

21
html/js/lazyload.js Normal file
View File

@@ -0,0 +1,21 @@
$(document).ready(function(){
$("img.lazy").lazyload({
//effect: "fadeIn"
}).removeClass("lazy");
$(document).ajaxStop(function() {
$("img.lazy").lazyload({
//effect: "fadeIn"
}).removeClass("lazy");
});
});
function get_overlib(content) {
var ret = overlib(content, WRAP,HAUTO,VAUTO);
jQuery.event.trigger("ajaxStop");
return ret;
}