爱易网
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 浏览次数:20246 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<!--网页加载时图片_波动--> <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
上一篇:狡猾的按钮特效
下一篇:自动检测并控制复选框的被选个数
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
电信设备商淘金中国4G:华为中兴领衔
去看看外面的世界吧!别窝里斗了,中国在线旅游商们
“合聚变”来了 UC优视确认并入阿里巴巴
天音通信170套餐试商用放号:流量两年不清零
阿里收购UC 五年姻缘换来移动新格局
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
苹果联合创始人炮轰鲍尔默“一直都在吃老本”
蘑菇街CEO陈琪:2015将回归社会化电商
传苹果中移动达成协议:新iPhone兼容TD制式
推荐阅读
更多>
机器人进一步取代人类:将进军白领任务
承载京东C2C野心的拍拍网:梦想丰满,现实骨感
中兴通讯不打机海战术 将向中高端手机转型
中移动财报外的"五座大山":运营商沦为走秀陪衬
网易微博将正式关闭 用户迁至轻博客LOFTER
郭美美事件推手被抓 “秦火火”拷问网络底线
在线音乐出现“小米公司”不是没有可能
华为美国推出电商网站 发售Mate 2LTE版
全球五大电信设备商业绩:华为净利居首
史玉柱卸任巨人网络CEO 继位人选引猜想
曹国伟:微博将关注Facebook和Twitter
安全服务机构:公布2014年度最糟糕的25个密码
HTC与苹果三星距离扩展 C2B形式成新武器
亚马逊Fire Phone:请别拿我跟苹果三星比
移动联通回应税率改革:短期内收入利润将大减
北京今日实现用支付宝钱包为公交卡充值
“组合拳”怎么打 拆解小米新玩法
看,网络文学今日之繁盛;忆,纯真去哪了?
微软大幅调整Bing在华策略:从高大上到接地气
中移动一季度净利大降:手机补贴增长过快