爱易网
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 浏览次数:20217 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<!--网页加载时图片_波动--> <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
上一篇:狡猾的按钮特效
下一篇:自动检测并控制复选框的被选个数
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
蘑菇街CEO陈琪:2015将回归社会化电商
苹果30亿美元收购Beats
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
在线音乐出现“小米公司”不是没有可能
团购网站存活率仅18.6% 剩余缺乏千家
分析称iPhone 6明年初发布 屏幕变为4.8吋
从百度世界大会看大数据
欧盟控诉苹果在爱尔兰非法进行税收交易
网曝富士康“二连跳” 疑因推静音模式
推荐阅读
更多>
英特尔VS苹果:移动芯片大战
看蜗牛如何放水养鱼,盘活生态系统
诺基亚培育低端机市场 迂回战术要挟中华酷联
广东移动董事长徐龙受调查 圈内对其褒贬不一
京东确定IPO定价区间 最高募资16.9亿美元
阿朗力避步北电后尘 急切停止自我革新
首家国有独资P2P平台上线 或预示政策日渐明朗
银河证券王锦炎:金融业如何使用大数据
网络视频的几大趋势将成视频玩家躲不开的发力点
史玉柱谈创业:5大建议 失败的教训最真实
苹果股价突破100美元大关:投资者看好iPhone 6
中移动推动感地带3G网聊卡 火拼微信沃卡
韩国研制无线充电系统:一次可充40部手机
国美苏宁线上首度正面PK 京东列席4月电商战
从百度世界大会看大数据
富士康欲用机器人产iPhone 6
北京今日实现用支付宝钱包为公交卡充值
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
谷歌欲收买WhatsApp添加砝码 对方否认
陈天桥之鉴:产品创新被扼杀那些事