爱易网
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 浏览次数:20152 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>图片跳动效果,sky整理收集,zzjs.net欢迎您。</title> </head> <body> <a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--><script language="JavaScript1.2"> <!-- ImgA=new Image(); ImgA.src="/image/zzjs.ico"; ImgB=new Image(); ImgB.src="/image/zzjs.ico"; ImgC=new Image(); ImgC.src="/image/zzjs.ico"; ImgD=new Image(); ImgD.src="/image/zzjs.ico"; //--> </script> <script language="JavaScript1.2"> <!-- amount=6; Xpos=300; Ypos=200; step=0.5; dismissafter=100; bats=new Array(ImgA.src,ImgB.src,ImgC.src,ImgD.src) if (document.layers){ for (i=0; i < amount; i++) {document.write("<LAYER NAME=n"+i+" LEFT=0 TOP=-50><img SRC='/image/zzjs.ico' NAME='nsi' onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></LAYER>")} } if (document.all) { document.write('<div id="out" style="position:absolute;top:0;left:0"><div id="in" style="position:relative">'); for (i=0; i < amount; i++) {document.write('<img src="/image/zzjs.ico" id="msieBats"'+i+' style="position:absolute;top:-50;left:0" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>')} document.write('</div></div>'); } yBase=0; xBase=0; currStep=0; a_count=0; b_count=1; c_count=2; d_count=3; move=1; if (document.layers){ yBase=window.innerHeight/3; xBase=window.innerWidth/6; window.captureEvents(Event.MOUSEMOVE); } if (document.all){ yBase = window.document.body.offsetHeight/3; xBase = window.document.body.offsetWidth/6; } function dismissbat(){ clearInterval(flybat) if (document.layers){ for (i2=0; i2 < amount; i2++){ document.layers['n'+i2].visibility="hide" } } else if (document.all) document.all.out.style.visibility="hidden" } function Animate(){ a_count+=move; b_count+=move; c_count+=move; d_count+=move; currStep+=step; if (a_count >= bats.length) a_count=0; if (b_count >= bats.length) b_count=0; if (c_count >= bats.length) c_count=0; if (d_count >= bats.length) d_count=0; if (document.layers){ document.layers['n'+0].document.images['nsi'].src=bats[a_count]; document.layers['n'+1].document.images['nsi'].src=bats[b_count]; document.layers['n'+2].document.images['nsi'].src=bats[b_count]; if (amount > 2) { for (i=3; i < amount; i++) {document.layers['n'+i].document.images['nsi'].src=bats[d_count]} } for (i=0; i < amount; i++) { var NewL="n"+i document.layers[NewL].top = Ypos+yBase*Math.sin(((currStep)+i*3.7)/4)*Math.cos((currStep+i*35)/10) document.layers[NewL].left =Xpos+xBase*Math.cos(((currStep)+i*3.7)/4)*Math.cos((currStep+i*35)/62) } } if (document.all){ document.all.msieBats[0].src=bats[a_count]; document.all.msieBats[1].src=bats[b_count]; document.all.msieBats[2].src=bats[c_count]; if (amount > 2) { for (i=3; i < amount; i++) {document.all.msieBats[i].src=bats[d_count]} } for (i=0; i < amount; i++) { document.all.msieBats[i].style.pixelTop = Ypos+yBase*Math.sin(((currStep)+i*3.7)/4)*Math.cos((currStep+i*35)/10) document.all.msieBats[i].style.pixelLeft =Xpos+xBase*Math.cos(((currStep)+i*3.7)/4)*Math.cos((currStep+i*35)/62) } } }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 flybat=setInterval('Animate()',30); setTimeout("dismissbat()",dism
上一篇:狡猾的按钮特效
下一篇:全屏漂浮图片效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
电信资费新政:三巨头压力大 短期降价仍有争议
中移动落马高管盘点:广东移动成反腐重地
易信工具性优势突出 丁磊三板斧或先砍在飞信上
从雷军的“互联网七字诀”告诉你一个非妖魔化的小米
京东联席董事长赵国庆上市前夕离职
三星起诉LG在冰箱广告中玷污其企业笼统
运营商补贴减少 国内通信业拐点逼近
iSuppli:上网本将于2015年退出市场
MIUI,有了它小米就无惧对手
推荐阅读
更多>
苹果售后生态链乱象:供需失衡价钱不一
支付宝曝平安破绽:转账信息被谷歌抓取
都是300元内 乐视盒子与小米盒子对比体验
中方抗议美方限购IT设备 紧张关系加剧
第二梯队也PK:当1号店“遇上”京东手机节
Skype周年:与微软联姻到底有没有未来?
唯品会股价飙升 引天猫当当京东进军闪购
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
去看看外面的世界吧!别窝里斗了,中国在线旅游商们
全球网络遭史上最大规模攻击:攻击数据每秒300G
智能手机:中国手机市场最受关注十五款产品清点
猎豹移动上市押海外市场 与小米有合作空间
惠普中国转型只是缩影 未来开展不可预期
扎克伯格华裔妻子首度亮相电视节目畅谈情史
苹果App Store被大量刷榜:iTunes账号成帮凶
顺丰O2O便利店将正式启动:涉及金融服务
联通丹东公司一高管造假套出手机变卖被判刑7年
iPhone5S组件曝光 印证杀手级功能存在
余额宝收益率跌破5% 银行系宝宝收益率赶超
网曝富士康“二连跳” 疑因推静音模式