爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
打开页面的等待(二)
打开页面的等待(二)
日期:2014-05-18 浏览次数:20642 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: <meta http-equiv="refresh" content="10; url=http://www.k688.com"> <style> <!-- #bar, #barbackground{ position:absolute; left:185; top:120; background-color:red; } #barbackground{ background-color:c0c0c0; } --> </style> <script> //1) Set the duration for the progress bar to complete loading (in seconds) var duration=5 //2) Set post action to carry out inside function below: function postaction(){ //Example action could be to navigate to a URL, like following: //window.location="games/checker.htm" } ///Done Editing///////////// var clipright=0 var widthIE=0 var widthNS=0 function initializebar(){ if (document.all){ baranchor.style.visibility="visible" widthIE=bar.style.pixelWidth startIE=setInterval("increaseIE()",150) } if (document.layers){ widthNS=document.baranchorNS.document.barbackgroundNS.clip.width document.baranchorNS.document.barNS.clip.right=0 document.baranchorNS.visibility="show" startNS=setInterval("increaseNS()",150) } } function increaseIE(){ bar.style.clip="rect(0 "+clipright+" auto 0)" window.status="已经完成了......" if (clipright<widthIE) clipright=clipright+(widthIE/(duration*20)) else{ window.status='' clearInterval(startIE) postaction() } } function increaseNS(){ if (clipright<202){ window.status="Loading..." document.baranchorNS.document.barNS.clip.right=clipright clipright=clipright+(widthNS/(duration*20)) } else{ window.status='' clearInterval(startNS) postaction() } } window.onload=initializebar </script> <script language="JavaScript1.2"> if (document.all){ document.write('<div id="baranchor" style="position:relative;width:400px;height:20px;visibility:hidden;">') document.write('<div id="barbackground" style="width:400px;height:20px;z-index:9"></div>') document.write('<div id="bar" style="width:400px;height:20px;z-index:10"></div>') document.write('</div>') } </script> <ilayer name="baranchorNS" visibility="hide" width=400 height=20> <layer name="barbackgroundNS" bgcolor=black width=400 height=20 z-index=11 left=0 top=0> </layer> <layer name="barNS" bgcolor=blue width=400 height=20 z-index=11 left=0 top=0> </layer> </ilayer> <p align="center"><font size="2">Load.........</font> <a href="http://www.aiyiweb.com/js/">欢迎访问爱易网JS特效</a>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
上一篇:狡猾的按钮特效
下一篇:导航菜单显示不同信息
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
高通拼抢国际芯片市场 联发科海外拓展难安心
支付宝曝平安破绽:转账信息被谷歌抓取
八位知名设计师评iOS7:新鲜但复杂
人们为什么总愿尝试新社交网络?
华为坚持不上市究竟为何?不差钱也不想冒风险
诺基亚再缩阵线 封锁上海旗舰店全力蜕变
阿里国际化再落子:2.49亿美元投资新加坡邮政
银河证券王锦炎:金融业如何使用大数据
快递企业征收“份子钱” 成全了谁 苦了谁?
推荐阅读
更多>
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
眼球识别技术EyeVerify融资600万美元 360参投
广东移动高层受调查 中移动或现更大反腐风暴
央行暂停二维码支付及虚拟信用卡 支付宝微信不知情
在线音乐出现“小米公司”不是没有可能
高德百度地图免费背后:李彦宏暗斗马云周鸿祎
固话上网卡或将实名制 运营商泄露用户信息将被罚
孙正义入股阿里往事还原:阿里巴巴并非软银首选
网易微博将正式关闭 用户迁至轻博客LOFTER
挂号网高管团体离任 或因投资人失掉决计
继续涨:微博IPO第二交易日 收盘大涨11.71%
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
国美在线叫板京东:李俊涛底气在哪?
电话用户9月实名制:运营商监管受质疑
华为任正非:家族成员不会成为接班人
网易云音乐能否为丁磊拿到移动互联网门票?
迅雷欲3300万美元收购金山快盘 预计9月完成
亚马逊落户上海自贸区:美国货直邮中国
佳能利润大跌三成 智能终端倒逼相机厂商转型
腾讯为何在与阿里百度的收购比赛中当看客?