<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Div模态窗口登陆效果</title>
<style type="text/css" >
#haiwi_overlay{
position:fixed;
z-index:10000;
top:0px;
left:0px;
height:100%;
width:100%;
background:#000;
display:none;
}
</style>
</head>
<body>
<input type="button" value="点击测试" onclick="fopen()" />
<div id="modalDiv" style="display:none;">
<table style="background-color:#FFF; width:300px;height:200px; border:2px solid #666666;">
<tr><td align="center" "><h3>用户登录</h3></td></tr>
<tr><td align="center" >
<label for="username">用户名:</label>
<input type="text" name="username" id="username" class="txtfield" tabindex="1" style=" width:160px;" />
</td></tr>
<tr><td align="center">
<label for="password">密 码:</label>
<input type="password" name="password" id="password" class="txtfield" tabindex="2" style=" width:160px;" />
</td></tr>
<tr><td style="background-color:#F0F0F0;" align="center">
<input type="button" name="loginbtn" id="loginbtn" value="登录" tabindex="3">
<input type="button" name="loginbtn" id="loginbtn" value="关闭" onclick="fclose();" tabindex="3">
</td></tr>
</table>
</div>
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="haiwiModal.js"></script>
<script type="text/javascript">
function fopen(){
$.openHaiwiModal("modalDiv");
}
function fclose(){
$.closeHaiwiModal("modalDiv");
}
</script>
</body>
</html>
jQuery特效之浮动div模式框
需积分: 24 147 浏览量
2015-01-26
18:41:03
上传
评论
收藏 34KB ZIP 举报
HaiwiSong
- 粉丝: 256
- 资源: 6
最新资源
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
- python tkinter-08-盒子模型.ev4.rar
- Doozy UI Manager 2023
- 基于matlab实现夜间车牌识别程序(1).rar
- 基于matlab实现无线传感器网络无需测距定位算法matlab源代码 包括apit,dv-hop,amorphous在内的共7个
- 基于python的yolov5实现的旋转目标检测
- 基于matlab实现无线传感器网络 CAB定位仿真程序 这是无线传感器节点定位CAB算法的仿真程序,由matlab完成.rar
- 基于matlab实现图像处理,本程序使用背景差分法对来往车辆进行检测和跟踪.rar
- 基于matlab实现视频监控中车型识别代码,自己写的,希望和大家多多交流.rar
- springcodespringcodespringcodespringcode
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈