.default_mask {
width: 100%;
height: 100%;
background: url(../images/loading.gif) no-repeat center;
background-color: #FFFFFF;
position: absolute;
z-index: 999;
top:0;
left:0;
filter:alpha(opacity=70);
-moz-opacity:0.70;
opacity:.70;
}
.default_separator {
width:2px;
height:20px;
background: url(../images/separator.gif) no-repeat center;
}
----------------------
delete.jsp:
<%@ page language="java" pageEncoding="utf-8"%>
<script type="text/javascript">
var bdiv;
var centerdiv;
var flag = false;
function play(){
centerdivwidth = $("#showmsg").width();
if(flag){
centerdivwidth += 100;
}
flag = true;
centerdivheight = $("#showmsg").height();
centerdivleft = ($("body").width()-centerdivwidth)/2 + "px";
centerdivtop= (window.screen.height-centerdivheight)/2-215 + "px";
bdiv = $("<div>").css({
"opacity":"0.8",
"width":"100%",
"height":"100%",
"background":"white",
"position":"absolute",
"top":"0px",
"left":"0px",
"z-index":"10",
"display":"none"
}).appendTo($("body"));
centerdiv = $("<div>").css({
"opacity":"0.9",
"width":"220px",
"height":"19px",
"position":"absolute",
"top":centerdivtop,
"left":centerdivleft,
"z-index":"11",
"display":"none"
}).appendTo($("body"));
$("#showmsg").appendTo($(centerdiv));
initPlay();
}
function initPlay(){
$(showmsg).show();
divin();
setTimeout(divout,1000);
}
function divin(){
$(bdiv).fadeIn("1000");
$(centerdiv).fadeIn("1000");
}
function divout(){
$(bdiv).fadeOut("1000");
$(centerdiv).fadeOut("1000");
}
</script>
<div>删除成功!!!</div>
8.界面效果图:(内附相片中)界面上的图片自己可选择.
@yeah/editPhoto.do?albumId=-1&photoId=fks_087070080083081068082094086075072081086075084086094068080#