资源预览内容
第1页 / 共2页
第2页 / 共2页
亲,该文档总共2页全部预览完了,如果喜欢就下载吧!
资源描述
关闭 var xPos = 20; var yPos = document.body.clientHeight; var step = 2; var delay = 60; var height = 0; var Hoffset = 0; var Woffset = 0; var yon = 0; var xon = 0; var pause = true; var interval; img.style.top = yPos; function changePos() width = document.body.clientWidth; height = document.body.clientHeight; Hoffset = img.offsetHeight; Woffset = img.offsetWidth; img.style.left = xPos + document.body.scrollLeft; img.style.top = yPos + document.body.scrollTop; if (yon) yPos = yPos + step; else yPos = yPos - step; if (yPos = (height - Hoffset) yon = 0; yPos = (height - Hoffset); if (xon) xPos = xPos + step; else xPos = xPos - step; if (xPos = (width - Woffset) xon = 0; xPos = (width - Woffset); function closepiao() document.all(img).style.display = none; function stop() clearInterval(interval); function www_helpor_net() /closepiao();/注释后显示飘 img.visibility = visible; interval = setInterval(changePos(), delay); www_helpor_net();
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号