首页 > web前端 > js教程 > 正文

短信提示使用 特效_典型特效

php中文网
发布: 2016-05-16 19:20:41
原创
1183人浏览过

勾股OA办公系统
勾股OA办公系统

勾股OA是一款基于ThinkPHP6 + Layui + MySql打造的实用的开源的企业办公系统,开箱即用,使用勾股OA可以简单快速地建立企业级的办公自动化系统。 办公自动化系统是员工及管理者使用频率最高的应用系统,可以极大提高公司的办公效率,我们立志为中小企业提供开源好用的办公自动化系统,帮助企业节省数字化、信息化办公的成本。 系统特点1、系统各功能模块,一目了然,操作简单;通用型的后台权

勾股OA办公系统 21
查看详情 勾股OA办公系统
复制代码 代码如下:

<script> <BR><!-- <BR>window.onload = getMsg; <BR>window.onresize = resizeDiv; <BR>window.onerror = function(){} <BR>//短信提示使用 <BR>var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i = 0; <BR>function getMsg() <BR>{ <BR> try{ <BR> divTop = parseInt(document.getElementById("eMeng").style.top,10) <BR> divLeft = parseInt(document.getElementById("eMeng").style.left,10) <BR> divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10) <BR> divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10) <BR> docWidth = document.body.clientWidth; <BR> docHeight = document.body.clientHeight; <BR> document.getElementById("eMeng").style.top = parseInt(document.body.scrollTop,10) + docHeight + 10;// divHeight <BR> document.getElementById("eMeng").style.left = parseInt(document.body.scrollLeft,10) + docWidth - divWidth <BR> document.getElementById("eMeng").style.visibility="visible" <BR> objTimer = window.setInterval("moveDiv()",10) <BR> } <BR> catch(e){} <BR>} <br><br>function resizeDiv() <BR>{ <BR> i+=1 <BR> if(i>600) closeDiv() //客户想不用自动消失由用户来自己关闭所以屏蔽这句 <BR> try{ <BR> divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10) <BR> divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10) <BR> docWidth = document.body.clientWidth; <BR> docHeight = document.body.clientHeight; <BR> document.getElementById("eMeng").style.top = docHeight - divHeight + parseInt(document.body.scrollTop,10) <BR> document.getElementById("eMeng").style.left = docWidth - divWidth + parseInt(document.body.scrollLeft,10) <BR> } <BR> catch(e){} <BR>} <br><br>function moveDiv() <BR>{ <BR> try <BR> { <BR> if(parseInt(document.getElementById("eMeng").style.top,10) <= (docHeight - divHeight + parseInt(document.body.scrollTop,10))) <BR> { <BR> window.clearInterval(objTimer) <BR> objTimer = window.setInterval("resizeDiv()",1) <BR> } <BR> divTop = parseInt(document.getElementById("eMeng").style.top,10) <BR> document.getElementById("eMeng").style.top = divTop - 1 <BR> } <BR> catch(e){} <BR>} <BR>function closeDiv() <BR>{ <BR> document.getElementById('eMeng').style.visibility='hidden'; <BR> if(objTimer) window.clearInterval(objTimer) <BR>} <BR>--> <BR></script>
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号