<%@ page language="java" import="java
<%
String path = request
String basePath = request
%>
<!DOCTYPE html PUBLIC "
<html xmlns="
<head>
<meta http
<title>無標題文檔</title>
<style type="text/css">
* {margin:
html
body { font
#tip {
position: absolute;
right:
bottom:
height:
width:
border:
background
padding:
overflow:hidden;
display:none;
font
z
}
#tip p { padding:
#tip h
font
height:
line
background
color:#FFFFFF;
padding:
filter: Alpha(Opacity=
}
#tip h
float:right;
text
color:#FFFFFF;
}
#shadow {
position:absolute;
width:
height:
background
z
filter: Alpha(Opacity=
display:none;
overflow:hidden;
}
#detail {
width:
height:
border:
background
position:absolute;
z
display:none;
left:
top:
}
</style>
<script type="text/javascript">
var handle;
function start()
{
var obj = document
if (parseInt(obj
{ obj
handle = setInterval("changeH(
}else
{
handle = setInterval("changeH(
}
}
function changeH(str)
{
var obj = document
if(str=="up")
{
if (parseInt(obj
clearInterval(handle);
else
obj
}
if(str=="down")
{
if (parseInt(obj
{ clearInterval(handle);
obj
}
else
obj
}
}
function showwin()
{
document
start();
document
document
}
function recover()
{
document
document
document
}
</script>
</head>
<body onload="document
<div id="shadow"> </div>
<div id="detail">
</div>
<div id="tip"><h
</body>
</html>
<script language="JavaScript">
window
function myTimer() {
start();
window
}
</script>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20612.html