等候提示(js)
来源:互联网 发布:淘宝网怎么买 编辑:程序博客网 时间:2024/04/28 16:56
<script>
var timer
var Opacity = 0
function hide() {
oDiv.style.display = "block"
oDiv.style.height = document.body.scrollHeight
Opacity = 0
event.srcElement.blur()
oFrame.document.open()
oFrame.document.write("<body bgcolor='darkgray'>")
timer = window.setInterval("aa()", 5)
}
function aa()
{
if (Opacity == 50)
{
window.clearInterval(timer)
oButton.style.display = "block"
return
}
Opacity = ( Opacity + 3 ) > 50 ? 50 : Opacity + 3
oDiv.style.filter = "Alpha(Opacity=" + Opacity + ")"
}
function bb()
{
if (Opacity == 0)
{
window.clearInterval(timer)
oDiv.style.display = "none"
return
}
Opacity = (Opacity - 3 < 0) ? 0 : Opacity - 3
oDiv.style.filter = "Alpha(Opacity=" + Opacity + ")"
}
function cc()
{
timer = window.setInterval('bb()', 5);
oButton.style.display='none';
}
</script>
<body topmargin=0 leftmargin=0>
<div id=oDiv style="position:absolute;z-index:99; background-color:darkgray; Filter: Alpha(Opacity=0); border:1px solid #333333;display:none;width:100%;vertical-align:center;text-align:center">
<iframe name="oFrame" src="" style="width:100%; height:100%; background-color:darkgray" frameborder=0></iframe>
</div>
<button onclick=hide()>hide</button>
<select><option>下拉框</option></select>
<div id="oButton" style="position:absolute; left:100;top:200;z-index:100;display:none">
<button onclick="cc()">确定</button>
</div>
<script>
for (var i=0; i<30; i++)
document.write ("<p>123</p>")
</script>
- 等候提示(js)
- 等候?
- 等候
- 在线等候
- js 提示
- 让生命等候(童安格)
- 五百年的等候
- 鼠标等候样式
- 鼠标等候样式
- 【徐志摩】我等候你
- iOS 加载等候 MRProgress
- 这是爱的等候
- UI前台 加载等候插件
- 越过山丘,可能无人等候。
- JS浮动提示
- js邮箱提示
- js窗口&提示大全
- js提示尚未实现
- How To Build a Yacc?(8)
- 限制输入(中文,英文,数字分类)(js)
- 大型数据库数据采集方法简介(1)
- 在Asp.net中为图像加入版权信息
- 一个function里实现多项检查
- 等候提示(js)
- 大型数据库数据采集方法简介(2)
- XMLTextWrite创建XML
- 使用XmlTextReader 读取XML
- Evos lotusScript Lib V0.1 2005-12-23发布
- EvosWebMailTemplate For Domino v11..22 2005.12-23发布
- 大型数据库数据采集方法简介(3)
- 谈谈软件从业学习方向--同济大学软件学院JacksonWan
- 张小娴之爱情金句