纯用DIV弹出DIV窗口(经测试试用IE、firefox等浏览器)
来源:互联网 发布:java threadGroup 编辑:程序博客网 时间:2024/05/18 00:57
<html>
<head>
<title>LIGHTBOX EXAMPLE</title>
<style>
.black_overlay{ display: none; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%;
background-color: black; z-index:1001; -moz-opacity: 0.8; opacity:.80; filter: alpha(opacity=80); }
.white_content { display: none; position: absolute; top: 25%; left: 25%; width: 50%; height: 50%;
padding: 16px; border: 16px solid orange; background-color: white; z-index:1002; overflow: auto; }
</style>
</head>
<body>
<a href="javascript:void(0)" onclick="document.getElementById
('light').style.display='block';document.getElementById('fade').style.display='block'">打开</a>
<div id="light" class="white_content">
内容
<a href="javascript:void(0)" onclick="document.getElementById
('light').style.display='none';document.getElementById('fade').style.display='none'">
关闭</a></div>
<div id="fade" class="black_overlay">
</div>
</body>
</html>
- 纯用DIV弹出DIV窗口(经测试试用IE、firefox等浏览器)
- 用DIV完美模拟createPopup 弹出窗口,支持Firefox,ie,chrome
- Div全屏遮罩(兼容IE、Firefox、Chrome等主流浏览器)
- FireFox浏览器和 IE浏览器兼容问题 滤镜 DIV滚动条
- 可以移动的层(Div)兼容IE和firefox浏览器
- DIV实现弹出窗口
- DIV弹出窗口控件
- div弹出登录窗口
- div弹出窗口
- div弹出窗口
- 弹出窗口(DIV浮动)
- 弹出div层窗口
- IE浏览器DIV居中
- div+css - Firefox和IE浏览器兼容问题 - 用CSS实现cellSpacing属性效果
- IE显示div正常,Firefox浏览器中div层重叠的解决方法
- 用层(DIV)来实现弹出窗口
- 【转】用DIV实现弹出窗口
- 用AS+JS实现IE等浏览器的强制弹出窗口源代码
- 日报_2012_07_26
- 日报_2012_07_27
- 用层模拟可移动的小窗口
- ArcGIS for Android —— 显示地图
- Excel宏类型的转换
- 纯用DIV弹出DIV窗口(经测试试用IE、firefox等浏览器)
- 如何编写Linux设备驱动程序
- 北大ACM poj2590
- 获取类成员函数的指针
- Server.cpp : Defines the entry point for the console application.
- struts2之2--动态方法调用
- XML解析
- SQLServer : EXEC和sp_executesql的区别
- 程序员的悲哀