爱易网
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 浏览次数:20239 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<!--网页加载时图片_波动--> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>ASPEASE</title> <script language="JavaScript" fptype="dynamicanimation"> <!-- function dynAnimation() {} function clickSwapImg() {} //--> </script> <script language="JavaScript1.2" fptype="dynamicanimation"> <!-- // See KB article about changing this dynamic HTML dynamicanimAttr = "dynamicanimation" animCancel = "skipanim" fpanimationPrefix = "fpAnim" animateElements = new Array() currentElement = 0 speed = 1 stepsZoom = 8 stepsWord = 8 stepsFly = 17 stepsSpiral = 16 stepsSpiralWord = 19 stepsElastic = 32 steps = stepsZoom step = 0 cornerPhase=0 outEffect=0 function remSuffix(str) { ind=str.indexOf("FP") str = str.substring(0,ind) return str } function dynAnimOut(el) { outEffect=1 dynAnimation(el) outEffect=0 } function dynAnimation(obj) { animateElements = new Array() var ms = navigator.appVersion.indexOf("MSIE") ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4) if(!ie4) { if((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0, 1)) >= 4)) doc_els=document.layers else return } else doc_els=document.all if(outEffect && !ie4) return if(ie4) { for (index=document.all.length-1; index >= document.body.sourceIndex; index--) { el = document.all[index] if(outEffect && el != obj) continue if(outEffect) animationId = el.id.substring(9,el.id.length) else animationId = el.id.substring(6,el.id.length) animation=remSuffix(animationId) if(null != animation) { altcnt=0 if( animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord" || animation == "waveWords" || animation == "hopWords") { ih = el.innerHTML outString = "" i1 = 0 iend = ih.length while(true) { i2 = startWord(ih, i1) if(i2 == -1) i2 = iend outWord(ih, i1, i2, false, "", outEffect ? obj.id : el.id) if(i2 == iend) break i1 = i2 i2 = endWord(ih, i1) if(i2 == -1) i2 = iend if (animation == "waveWords") outWordAlt(ih, i1, i2, true, animation, altcnt) else outWord(ih, i1, i2, true, (outEffect ? "Out" : "") + animation, outEffect ? obj.id : el.id) if(i2 == iend) break i1 = i2 altcnt++ } document.all[index].innerHTML = outString document.all[index].style.posLeft = 0 document.all[index].setAttribute(animCancel, true) document.all[index].style.visibility="visible" } } } } i = 0 for (index=0; index < doc_els.length; index++) { el = doc_els[index] if(0 != el.id.indexOf(fpanimationPrefix)) continue if (ie4) { elprops=el.style scrollOffsetTop=document.body.scrollTop docHeight=document.body.offsetHeight docWidth=document.body.offsetWidth elW=100 elH=el.offsetHeight } else { elprops=el scrollOffsetTop=window.pageYOffset docHeight=window.innerHeight docWidth=window.innerWidth elW=el.clip.width elH=el.clip.height } if(outEffect) animationId = el.id.substring(9,el.id.length) else animationId = el.id.substring(6,el.id.length) animation=remSuffix(animationId) if(outEffect && (obj != el)) { if(el.SRCID != obj.id) continue } if (null != animation ) { if(ie4 && null!=el.getAttribute(animCancel, false)) continue if(!ie4
上一篇:狡猾的按钮特效
下一篇:自动检测并控制复选框的被选个数
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
苹果20年以来首次发债 融资170亿美元
惠普中国转型只是缩影 未来开展不可预期
三星维修新规:Galaxy S4主板进水也收费修
传苹果已告知鸿海:两款新iPhone下月发货
京东联席董事长赵国庆上市前夕离职
说说这一个月的赌球输了多少
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
史玉柱谈创业:5大建议 失败的教训最真实
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
推荐阅读
更多>
新浪微博推粉丝头条功能 意欲与大号分成
全球网络遭史上最大规模攻击:攻击数据每秒300G
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
赴美开店,阿里11Main准备好了吗?
眼球识别技术EyeVerify融资600万美元 360参投
分析称iPhone 6明年初发布 屏幕变为4.8吋
代工厂生活危机:“富士康们”何去何从?
百度透露无人驾驶战略 研发三维交通地图
众贷网满月开张 网络金融监管再受质疑
靠价格战赚取资费套餐利润差,虚拟运营商必死无疑
优酷土豆携手新浪微博 谋攻移动视频失地
谷歌新技术进入iOS平台:将叫板苹果Siri
金山毒霸安全中心: XP退役后首个高危漏洞来了
用友软件股价逆势下跌 再融资方案现曙光
传运营商高层将变化 专家称需体制革新
美国电影协会在华起诉迅雷侵权 要求赔偿并道歉
惠普中国转型只是缩影 未来开展不可预期
支付宝27日晚间曝严重破绽:买卖记载可被搜索
苹果MacBook Air劣势渐显 或推新产品改变命运
刘强东:京东上市融资用于开拓三至六线城市