资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
右下角弹出信息(自动关闭)
<!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=gb2312" /> <title>右下角弹出框</title> </head> <style type="text/css"> #rbbox{position:absolute;right:0;bottom:0;width:300px;height:0px;overflow:hidden} .button{display:inline;float:right;font-size:12px;cursor:pointer} </style> <body><div id="rbbox"><a class="button" onclick="closeBox()">关闭</a><iframe src="http://www.glzy8.com/404.htm" frameborder="0" height="200" width="300" scrolling="no"></iframe></div> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3D%22javascript%22%20type%3D%22text%2Fjavascript%22%3E%20%0D%0Awindow.onload%3Dfunction()%7BshowBox()%3BsetTimeout(%22closeBox()%22%2C5000)%7D%20%0D%0Afunction%20showBox(o)%7B%20%0D%0Aif%20(o%3D%3Dundefined)%20o%3Ddocument.getElementById(%22rbbox%22)%3B%20%0D%0Ao.style.height%3Do.clientHeight%2B2%2B%22px%22%3B%20%0D%0Aif%20(o.clientHeight%3C200)%20setTimeout(function()%7BshowBox(o)%7D%2C5)%3B%20%0D%0A%7D%20%0D%0Afunction%20closeBox()%7Bdocument.getElementById(%22rbbox%22).style.display%3D%22none%22%3B%7D%20%0D%0A%3C%2Fscript%3E"> </body> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程