爱易网
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 浏览次数:20150 次
以下是程序代码
<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
上一篇:狡猾的按钮特效
下一篇:全屏漂浮图片效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
揭秘:阿里巴巴“无人认领”的三成股权都归谁
探析APP移动营销发扬实效的微妙
传苹果已告知鸿海:两款新iPhone下月发货
传三星为赢得新兴市场:推廉价版Note3
迅雷欲3300万美元收购金山快盘 预计9月完成
微软张亚勤趋势判断:未来三十年属于物理化互联网
京东进驻微信一级入口或影响自身战略布局
国美苏宁线上首度正面PK 京东列席4月电商战
固话上网卡或将实名制 运营商泄露用户信息将被罚
推荐阅读
更多>
创维冲击500亿梦想:转型硬件和内容供应商
从3G牌照发放看中国4G规划效果
解读苹果收购Beats背后动机:库克在想什么?
国内云服务商存在尴尬:“远程机房+移动大硬盘”模式
郭美美事件推手被抓 “秦火火”拷问网络底线
英特尔涉嫌垄断 欧盟或开出史上最高罚单
HTC曝出特大丑闻:高管诈骗+商业间谍
地图导航骤起杀机 百度高德重新定义商业模式
诺基亚称不会更名“微软移动” 5月还将发布新品
虚拟运营商温度有多高?降温OR升温内外有别
微博启动自媒体计划 粉丝+收入双激励是亮点
火一把就死: 百度魔图验证社交游戏衰亡宿命
传苹果中移动达成协议:新iPhone兼容TD制式
阿里巴巴IPO难掩的四个现实问题:天猫销售额成谜、淘宝拖后腿、营收迅猛其他不行和投资者未必买账
电信设备商淘金中国4G:华为中兴领衔
牟贵先挂帅 国美在线“价钱战”昔日开打
App Store严禁推送广告 运用面临大清洗
余额宝收益率跌破5% 银行系宝宝收益率赶超
充斥着假消息负能量的“秘密”缺乏普适性
阿里入股虎嗅:媒体的脊梁弯了?未必!