CSS+JQuery提示框----------纯手工打造、兼容性还哦可、可移植任何项目
来源:互联网 发布:制作计划的软件 编辑:程序博客网 时间:2024/06/10 22:47
<html>
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="jquery-1.8.2.js"></script>
<title>背景透明</title>
<style>
*{
margin:0;
padding:0;
}
body{
position:relative;
width:100%;
height:100%;
}
.aaa{
background-color:#fff;
border:10px solid gray;
border-radius:4px 4px 4px 4px;
display:none;
width:300px;
position:absolute;
top:30%;
left:30%;
z-index:11;
}
.show{
display:none;
width:100%;
height:100%;
position:fixed;
z-index:10;
left:0;
top:0;
background:#000000;
opacity:0.3;
filter:alpha(opacity=30);
}
a{
TEXT-DECORATION:none
}
.w_close:hover{
color:#666666;
font-size:12px;
}
.w_close:link {
color:#666666;
font-size:12px;
}
.w_close:active{
color:#666666;
font-size:12px;
}
.w_close:visited {
color:#666666;
font-size:12px;
}
</style>
</head>
<body >
<div id="test">
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
</div>
<div id="showError">显示提示</div>
<div id="" class="show"></div>
<div class="aaa">
<div style="height:20px;background-color:#F2F2F2">
<span style="float:right;cursor:pointer;padding-top:4px;padding-right:4px;" id="close"><a class="w_close" href="javascript:void(0);">关闭</a></span>
</div>
<div style="">
<table>
<tr>
<th>用户名:</th>
<td><input type="text" name="name"></td>
</tr>
<tr>
<th>密码:</th>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td><input type="submit" value="提交"></td>
</tr>
</table>
</div>
</div>
</body>
<script type="text/javascript">
$("#showError").bind('click',function(){
$(".show").show();
$(".aaa").show();
//$("body").addClass("fli");
})
$("#test").bind('click',function(){
alert(11111);
})
$("#close").bind('click',function(){
$(".show").hide();
$(".aaa").hide();
})
</script>
</html>
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="jquery-1.8.2.js"></script>
<title>背景透明</title>
<style>
*{
margin:0;
padding:0;
}
body{
position:relative;
width:100%;
height:100%;
}
.aaa{
background-color:#fff;
border:10px solid gray;
border-radius:4px 4px 4px 4px;
display:none;
width:300px;
position:absolute;
top:30%;
left:30%;
z-index:11;
}
.show{
display:none;
width:100%;
height:100%;
position:fixed;
z-index:10;
left:0;
top:0;
background:#000000;
opacity:0.3;
filter:alpha(opacity=30);
}
a{
TEXT-DECORATION:none
}
.w_close:hover{
color:#666666;
font-size:12px;
}
.w_close:link {
color:#666666;
font-size:12px;
}
.w_close:active{
color:#666666;
font-size:12px;
}
.w_close:visited {
color:#666666;
font-size:12px;
}
</style>
</head>
<body >
<div id="test">
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
<p>刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮刘成亮</p>
</div>
<div id="showError">显示提示</div>
<div id="" class="show"></div>
<div class="aaa">
<div style="height:20px;background-color:#F2F2F2">
<span style="float:right;cursor:pointer;padding-top:4px;padding-right:4px;" id="close"><a class="w_close" href="javascript:void(0);">关闭</a></span>
</div>
<div style="">
<table>
<tr>
<th>用户名:</th>
<td><input type="text" name="name"></td>
</tr>
<tr>
<th>密码:</th>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td><input type="submit" value="提交"></td>
</tr>
</table>
</div>
</div>
</body>
<script type="text/javascript">
$("#showError").bind('click',function(){
$(".show").show();
$(".aaa").show();
//$("body").addClass("fli");
})
$("#test").bind('click',function(){
alert(11111);
})
$("#close").bind('click',function(){
$(".show").hide();
$(".aaa").hide();
})
</script>
</html>
- CSS+JQuery提示框----------纯手工打造、兼容性还哦可、可移植任何项目
- 纯手工打造css箭头
- 纯手工打造 jquery + ajax 异步分页
- Android 纯手工打造ImageLoader
- 纯手工打造漂亮的垂直时间轴,使用最简单的HTML+CSS+JQUERY完成100个版本更新记录的华丽转身!
- 纯手工打造漂亮的垂直时间轴,使用最简单的HTML+CSS+JQUERY完成100个版本更新记录的华丽转身!
- 纯手工打造漂亮的垂直时间轴,使用最简单的HTML+CSS+JQUERY完成100个版本更新记录的华丽转身!
- 纯手工打造漂亮的垂直时间轴,使用最简单的HTML+CSS+JQUERY完成100个版本更新记录的华丽转身!
- 炫了一笔的分页技术,动态十足,纯手工打造,无bug(用bootstrap的css样式,jQuery控制动态)。
- 纯手工打造漂亮的垂直时间轴,使用最简单的HTML+CSS+JQUERY完成100个版本更新记录的华丽转身!
- 纯CSS箭头提示框
- CSS学习之纯CSS打造TIP提示效果,代替传统TITLE提示
- 纯手工打造即的Jar文件
- 纯手工打造HTTPSERVER(01Global)
- 纯手工打造HTTPSERVER(03ProcessRunnable)
- 纯手工打造mini linux实例
- 12可移植性(兼容性)
- 纯css打造QQ企鹅
- python study ---- encoding/deconding
- linux3.9内核中arm体系架构中的系统调用号
- 高性能HTTP加速器Varnish(管理维护篇)
- 路由器绑定IP设置(通过单IP使多机器能同时上网)
- ubuntu12.04关闭独立显卡
- CSS+JQuery提示框----------纯手工打造、兼容性还哦可、可移植任何项目
- Java学习笔记4 —— 面向对象编程概念
- ARC 问答
- Android输入框限制字符长度,字母自动大写
- php sphinx 详细配置
- Locally Linear Embedding
- Struts 2 - 百度百科
- 如何在ARC项目中使用非ARC的开源框架
- Linq增删改查语法大全