redo lost code....
This commit is contained in:
1 parent
a272b871e2
commit
1ac10e70a2
3 files changed
+9
-6
No files matched your search
@@ -1,12 +1,14 @@
|
||||
$(".r_snapshot").hover(
|
||||
$(".r_snapshot").live({
|
||||
mouseenter:
|
||||
function(){
|
||||
$(this).append($("<span></span>").html('<p class="z-preview"><img src="'+$(this).attr("path")+'"width="220" height="19" /></p>'));
|
||||
}
|
||||
,
|
||||
},
|
||||
mouseleave:
|
||||
function(){
|
||||
$(this).find("span:last").remove();
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
$('input.multi_files').live("change", function(){
|
||||
$(this).prev("ul").append("<li>"+$(this).val()+"</li>");
|
||||
@@ -19,6 +21,8 @@ $('input.multi_files').live("change", function(){
|
||||
$('a.remove_mark').live("click",function(){
|
||||
$(this).prev("input").val("true");
|
||||
$(this).parent().css("text-decoration","line-through")
|
||||
$(this).parent("li").removeClass("r_snapshot");
|
||||
$(this).next("span").remove();
|
||||
$(this).remove();
|
||||
return false;
|
||||
});
|
||||
Reference in new issue
Block a user