没有合适的资源?快使用搜索试试~ 我知道了~
教你如何将数据放在网页的最上层,真正的最上层哈
资源推荐
资源详情
资源评论
var oPopup, oPopupBody, oPopTimer
function popInit(){
if (window.document.all){
oPopup = window.createPopup()
oPopupBody = oPopup.document.body;
oPopupBody.style.background="#00f"
oPopupBody.style.fontSize="16px"
oPopupBody.style.textAlign="center"
oPopupBody.style.padding="2px 2px 0px 2px"
var s = oPopup.document.createStyleSheet();
s.addRule ('a:link','color:red;')
s.addRule ('a:visted','color:red;')
s.addRule ('a:hover','color:gold;')
oPopupBody.attachEvent('onmouseout',hidePop)
oPopupBody.attachEvent('onmouseover',clrPopTimer)
}
}
function showPop(name){
if (window.document.all){
var xp = 500, yp = 500, ww=100, wh=30, txt = '<div><a href="">'+name+'</a></div>'
oPopupBody.innerHTML = txt
oPopup.show( xp, yp, ww, wh )
oPopupBody.innerHTML=txt
oPopup.show(xp,yp,ww,wh)
}
}
function hidePop(){
if (window.document.all)
if (oPopup.isOpen)
oPopTimer = setTimeout("oPopup.hide()",1000)
function popInit(){
if (window.document.all){
oPopup = window.createPopup()
oPopupBody = oPopup.document.body;
oPopupBody.style.background="#00f"
oPopupBody.style.fontSize="16px"
oPopupBody.style.textAlign="center"
oPopupBody.style.padding="2px 2px 0px 2px"
var s = oPopup.document.createStyleSheet();
s.addRule ('a:link','color:red;')
s.addRule ('a:visted','color:red;')
s.addRule ('a:hover','color:gold;')
oPopupBody.attachEvent('onmouseout',hidePop)
oPopupBody.attachEvent('onmouseover',clrPopTimer)
}
}
function showPop(name){
if (window.document.all){
var xp = 500, yp = 500, ww=100, wh=30, txt = '<div><a href="">'+name+'</a></div>'
oPopupBody.innerHTML = txt
oPopup.show( xp, yp, ww, wh )
oPopupBody.innerHTML=txt
oPopup.show(xp,yp,ww,wh)
}
}
function hidePop(){
if (window.document.all)
if (oPopup.isOpen)
oPopTimer = setTimeout("oPopup.hide()",1000)
资源评论
gongkuiwangjing
- 粉丝: 4
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功