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

10 lines
328 B
JavaScript
Executable File

$(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;
})
})