25 lines
666 B
JavaScript
25 lines
666 B
JavaScript
|
$(".r_snapshot").hover(
|
||
|
function(){
|
||
|
$(this).append($("<span></span>").html('<p class="z-preview"><img src="'+$(this).attr("path")+'"width="220" height="19" /></p>'));
|
||
|
}
|
||
|
,
|
||
|
function(){
|
||
|
$(this).find("span:last").remove();
|
||
|
}
|
||
|
);
|
||
|
|
||
|
$('input.multi_files').change(function(){
|
||
|
$(this).prev("ul").append("<li>"+$(this).val()+"</li>");
|
||
|
new_node =$(this).clone();
|
||
|
new_node.css("display","none");
|
||
|
$(this).parent().append(new_node);
|
||
|
$(this).val("");
|
||
|
});
|
||
|
|
||
|
$('a.remove_mark').live("click",function(){
|
||
|
$(this).prev("input").value("true");
|
||
|
$(this).parent().css("text-decoration","line-through")
|
||
|
$(this).remove();
|
||
|
return false;
|
||
|
});
|