爱易网
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 浏览次数:20663 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: <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 全部选择 提示:你可先修改部分代码,再按运行]
上一篇:狡猾的按钮特效
下一篇:导航菜单显示不同信息
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
同为70前后人,马云为什么总是像外星人那么瘦
途牛开盘价9美元 与发行价持平
开个房刷个卡全世界都知道个人隐私成公开秘密
戴尔新CEO名单曝光:惠普甲骨文高管在列
OPPO创始人陈明永:我们是怎么做营销的
赴美开店,阿里11Main准备好了吗?
亚马逊推特价闪购纪念入华十周年 总裁一职仍空缺
阿里巴巴450亿勾画“现代服务业”藏宝图
科技巨匠体验谷歌眼镜:戴上了就不想摘上去
推荐阅读
更多>
HTC与苹果三星距离扩展 C2B形式成新武器
地图导航骤起杀机 百度高德重新定义商业模式
众贷网满月开张 网络金融监管再受质疑
搜狐前副总编何毅加盟乐视 任车联网公司CEO
腾讯再次重申:普通微信誉户相对不收费
凑足了升级ios8所需要的5.7G空间,没料到“苹果”却变成“板砖”,iOS8还能一起愉快玩耍吗?
科技巨匠体验谷歌眼镜:戴上了就不想摘上去
刘强东:京东上市融资用于开拓三至六线城市
机器人进一步取代人类:将进军白领任务
眼球识别技术EyeVerify融资600万美元 360参投
特斯拉将获上海免费牌照 充电桩面临双重标准
余额宝收益率跌破5% 银行系宝宝收益率赶超
马云寄厚望于物流 “菜鸟”行情暂难持续
中移动落马高管盘点:广东移动成反腐重地
雷军会做赔钱生意?迅雷跌破发行价 市值仅7亿美元
同为70前后人,马云为什么总是像外星人那么瘦
蜗牛移动董事长石海:号卡被叫停属乌龙事件
摩托罗拉中国区将再裁员 助力公司变身
中国联通困局:遭遇OTT宽带4G三大难题
诺基亚培育低端机市场 迂回战术要挟中华酷联