<!DOCTYPE html PUBLIC "
<html xmlns="
<head>
<meta http
<title>無標題文檔</title>
<script src="jquery_last
<script type="text/javascript">
$(document)
function hiden(){
$("#divObj")
}
function slideToggle(){
$("#divObj")
}
function show(){
$("#divObj")
}
function toggle(){
$("#divObj")
}
function slide(){
$("#divObj")
}
</script>
</head>
<body>
<h
<input type="button" value="隱藏" onclick="hiden()"/>
<input type="button" value="顯示" onclick="show()"/>
<input type="button" value="窗簾效果顯示
<input type="button" value="窗簾效果的切換" onclick="slideToggle()"/>
<input type="button" value="隱藏顯示效果切換" onclick="toggle()"/>
<div id="divObj" style="display:none">
</div>
</body>
</html>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20055.html