core/skin/detsad20.ru/js/img.js

10 lines
328 B
JavaScript
Raw Normal View History

2023-02-08 16:59:59 +05:00
$(function(){
$("img.lazy").lazyload({ placeholder : "/user_images/grey.gif", effect : "fadeIn", failure_limit : 2, threshold : 200 });
$(".del_img").click(function(event){
$("#del_img").load("/mod/img/act.php?act=del&id=" + $(this).attr("href"));
$("#tr_" + $(this).attr("href")).hide("1500");
return false;
})
})