爱易网
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 浏览次数:20092 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<!--网页加载时图片_波动--> <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
上一篇:狡猾的按钮特效
下一篇:自动检测并控制复选框的被选个数
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
马云:银行若放开存款利率 余额宝死了也光荣
靠价格战赚取资费套餐利润差,虚拟运营商必死无疑
网易云音乐能否为丁磊拿到移动互联网门票?
欧洲6万人起诉Facebook隐私侵权
App Store严禁推送广告 运用面临大清洗
佳能利润大跌三成 智能终端倒逼相机厂商转型
首批四款“官方”打车软件发布:均为安卓版本
中移动“重启”自有品牌手机成败难料
网曝富士康“二连跳” 疑因推静音模式
推荐阅读
更多>
首批四款“官方”打车软件发布:均为安卓版本
富士康人事故骚动方寸 不惜血本下注电商
任正非:喜马拉雅山的水为什么不能流入亚马逊河?
刘强东向总理建言:打击有组织有规模的售假商家
阿里国际化再落子:2.49亿美元投资新加坡邮政
特斯拉技术专利开放,要革自己的命?
苹果App Store被大量刷榜:iTunes账号成帮凶
华为变阵:任正非调整三大业务布局
iPhone5S组件曝光 印证杀手级功能存在
用户喊话当当网:我彻底把你们丢弃了
2013年至今中国互联网行业十大并购案汇总
HTC的三大迷惘:高管釜底抽薪 产品营销战略混乱
Line风靡亚洲,在北美却进展缓慢
联通丹东公司一高管造假套出手机变卖被判刑7年
打车软件“明补变暗补”背后的小算盘
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
中移动落马高管盘点:广东移动成反腐重地
百视通:Xbox One汉化获批 游戏迷欢呼吧
马云的SNS之梦有了新目标 收购“微博”
iOS7拖累iPad 5、iPad mini2发布 传十月份推出