爱易网
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 浏览次数:20252 次
以下是程序代码
<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
上一篇:狡猾的按钮特效
下一篇:全屏漂浮图片效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
神州电脑中止IPO面前:再被质疑财务造假
中移动业绩增长趋缓 目光转向海外市场
工商总局开查电商“七日退货”
腾讯为何在与阿里百度的收购比赛中当看客?
“世界杯+618”集体磨刀的本质是绑架全民
三星维修新规:Galaxy S4主板进水也收费修
苹果售后生态链乱象:供需失衡价钱不一
三星已经将Galaxy S5视为失败之作?
惠普中国转型只是缩影 未来开展不可预期
推荐阅读
更多>
开个房刷个卡全世界都知道个人隐私成公开秘密
高通反垄断案下月有望落定
从3G牌照发放看中国4G规划效果
优酷土豆兼并一年:依然处于烧钱形状
高通拼抢国际芯片市场 联发科海外拓展难安心
2018年阿里云双11活动如何参加?1折优惠大攻略
历史惊人相似:如今的库克 曾经的鲍尔默
首批四款“官方”打车软件发布:均为安卓版本
国内首个大数据系列指数今日发布
传陌陌或12月赴美IPO 估值约30亿美元
微信收费形式三选一 腾讯或变身运营商
中电信国际漫游费下调85% 世界杯上网28元/天
国美在线叫板京东:李俊涛底气在哪?
富士康人事故骚动方寸 不惜血本下注电商
中移动落马高管盘点:广东移动成反腐重地
华为变阵:任正非调整三大业务布局
苹果大中华区业绩回暖 中移动贡献或低于预期
看,网络文学今日之繁盛;忆,纯真去哪了?
搜狐与奇虎360或结盟对抗BAT
iPhone5S组件曝光 印证杀手级功能存在