<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>3-7-1</title>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
.showbox{width:0px;height:0px;display:none;position:absolute;right:0;top:0;z-index:100;padding:1px;background:#fff;border:2px solid #CCCCCC;}
.showbox h2{height:25px;font-size:14px;background-color:#004A53;position:relative;padding-left:10px;line-height:25px;color:#fff;}
.showbox h2 a{position:absolute;right:5px;top:0;font-weight:bold;font-size:13px;color:#fff;}
.showbox .mainlist{padding:10px;}
.boxmask{background:#FFFFFF;position:absolute;z-index:99;left:0;top:0;display:block;width:100%;height:100%;opacity:0.5;filter:alpha(opacity=50);-moz-opacity:0.5;}
.btnCls{position:absolute;bottom:2px;background:#F0FFFF;}
</style>
<!-- 引入jQuery -->
<script src="../../scripts/jquery-1.3.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$(".showbox .close").click(function(){
$(this).parents(".showbox").animate({top:600,opacity: 'hide',width:0,height:0,right:0},500);
$(".boxmask").fadeOut("fast");
});
$("#clsBtn").click(function(){
$(this).parents(".showbox").animate({top:600,opacity: 'hide',width:0,height:0,right:0},500);
$(".boxmask").fadeOut("fast");
});
});
function showRenewSolvInfo(){
var box =300;
var th= $(window).scrollTop()+$(window).height()/1.6-box;
var h = $(document).height();
var rw =$(window).width()/2-box;
$(".showbox").animate({top:th,opacity:'show',width:500,height:240,right:rw},500);
$("body").prepend("<div class='boxmask'></div>");
$(".boxmask").css({opacity:"0.5"}).css("height",h);
return false;
}
</script>
</head>
<body>
<div class="showbox">
<h2><a href="#" class="close">Close</a></h2>
<div class="mainlist">
<table>
<tr>
<td align="center" style="width:20%"><img src="" alt="exclamation img" width="48px" height="48px"></td>
<td>
<div style="font-weight:normal;font-size:12px;">You are very good.
<br><br>You are great!</div>
</td>
</tr>
</table>
</div>
<div class="btnCls">
<table style="width:500px;">
<tr><td> </td></tr>
<tr>
<td align="right"><input type="button" id="clsBtn" style="width:120px;" value="OK"></td>
</tr>
<tr><td> </td></tr>
</table>
</div>
</div>
<input type="button" οnclick="showRenewSolvInfo()" value="popUp">
</body>
</html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>3-7-1</title>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
.showbox{width:0px;height:0px;display:none;position:absolute;right:0;top:0;z-index:100;padding:1px;background:#fff;border:2px solid #CCCCCC;}
.showbox h2{height:25px;font-size:14px;background-color:#004A53;position:relative;padding-left:10px;line-height:25px;color:#fff;}
.showbox h2 a{position:absolute;right:5px;top:0;font-weight:bold;font-size:13px;color:#fff;}
.showbox .mainlist{padding:10px;}
.boxmask{background:#FFFFFF;position:absolute;z-index:99;left:0;top:0;display:block;width:100%;height:100%;opacity:0.5;filter:alpha(opacity=50);-moz-opacity:0.5;}
.btnCls{position:absolute;bottom:2px;background:#F0FFFF;}
</style>
<!-- 引入jQuery -->
<script src="../../scripts/jquery-1.3.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$(".showbox .close").click(function(){
$(this).parents(".showbox").animate({top:600,opacity: 'hide',width:0,height:0,right:0},500);
$(".boxmask").fadeOut("fast");
});
$("#clsBtn").click(function(){
$(this).parents(".showbox").animate({top:600,opacity: 'hide',width:0,height:0,right:0},500);
$(".boxmask").fadeOut("fast");
});
});
function showRenewSolvInfo(){
var box =300;
var th= $(window).scrollTop()+$(window).height()/1.6-box;
var h = $(document).height();
var rw =$(window).width()/2-box;
$(".showbox").animate({top:th,opacity:'show',width:500,height:240,right:rw},500);
$("body").prepend("<div class='boxmask'></div>");
$(".boxmask").css({opacity:"0.5"}).css("height",h);
return false;
}
</script>
</head>
<body>
<div class="showbox">
<h2><a href="#" class="close">Close</a></h2>
<div class="mainlist">
<table>
<tr>
<td align="center" style="width:20%"><img src="" alt="exclamation img" width="48px" height="48px"></td>
<td>
<div style="font-weight:normal;font-size:12px;">You are very good.
<br><br>You are great!</div>
</td>
</tr>
</table>
</div>
<div class="btnCls">
<table style="width:500px;">
<tr><td> </td></tr>
<tr>
<td align="right"><input type="button" id="clsBtn" style="width:120px;" value="OK"></td>
</tr>
<tr><td> </td></tr>
</table>
</div>
</div>
<input type="button" οnclick="showRenewSolvInfo()" value="popUp">
</body>
</html>