可爱老人网

 找回密码
 注册会员
搜索
123
返回列表 发新帖
楼主: 慧儿

试---是维子姐给我的代码

[复制链接]
 楼主| 发表于 2013-7-1 19:11 | 显示全部楼层
本帖最后由 慧儿 于 2013-7-1 19:27 编辑
刘树义 发表于 2013-7-1 11:43
别人代码、收藏作为模板、学习套用、熟悉代码!调换素材!
别人给的、那是别人花过心思制作 ...


谢谢老师送给维子姐的好代码,这些代码我没做过,因为确实不懂,我特地转来学习!下面代码很神奇,我不明白,怎么会变成维子姐给我的代码

红色也要调换成“0”号图片!

<HTML>
<HEAD>
<TITLE>刘树义音画</TITLE>
</HEAD>
<BODY bgcolor="#000000" >
<!-- 案例代码1开始 -->
<script id=code language=JavaScript>
var Ga=new Array()  <!-- //定义一个变量数组Ga -->
Ga[0]=" http://www.keai99.com/data/attachment/forum/201306/22/083244po6ro46pygzdqgb8.jpg";      <!-- // 设置要显示的图片地址,有几张就试几个,改变下标0,1,2等等,后面则是上传图片的地址-->
Ga[1]="http://www.keai99.com/data/attachment/forum/201306/22/083248djhhi1bxobio1lxq.jpg ";
Ga[2]="http://www.keai99.com/data/attachment/forum/201306/22/083252q5q189358l36i8id.jpg ";
Ga[3]="http://www.keai99.com/data/attachment/forum/201306/22/083258o52giiwp3p231mka.jpg ";
Ga[4]="http://www.keai99.com/data/attachment/forum/201306/22/083303ahjelbjg7nrglsg3.jpg ";
Ga[5]="http://www.keai99.com/data/attachment/forum/201306/22/083306dy0xhkykhdpk7kit.jpg ";
Ga[6]="http://www.keai99.com/data/attachment/forum/201306/22/083309ars94vz4v9ammm8s.jpg ";
Ga[7]="http://www.keai99.com/data/attachment/forum/201306/22/083317cxx055xdx0cdeza9.jpg ";
var hayasa=5000   <!-- //两个图片之间延迟时间,50000等于4秒 -->
var suu =1;
var iTransNumber=0;
var garTransitions = new Array(); //arrary of filter strings
garTransitions[0] = "progid:DXImageTransform.Microsoft.RandomDissolve()";
garTransitions[1] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='star', motion='out')";
garTransitions[2] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='diamond', motion='in')";
garTransitions[3] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='cross', motion='out')";
garTransitions[4] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='circle', motion='in')";
garTransitions[5] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='square', motion='out')";
garTransitions[6] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='plus', motion='in')";
garTransitions[7] = "progid:DXImageTransform.Microsoft.Barn(orientation='vertial' motion='in')";
garTransitions[8] = "progid:DXImageTransform.Microsoft.Barn(orientation='vertial' motion='out')";
garTransitions[9] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='in')";
garTransitions[10] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='out')";
garTransitions[11] = "progid:DXImageTransform.Microsoft.Pixelate()";
garTransitions[12] = "progid:DXImageTransform.Microsoft.Inset()";
garTransitions[13] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction='left')";
garTransitions[14] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction='right')";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction='down')";
garTransitions[16] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction='up')";
garTransitions[17] = "progid:DXImageTransform.Microsoft.RandomBars(motion='horizontal')";
garTransitions[18] = "progid:DXImageTransform.Microsoft.RandomBars(motion='vertical')";
garTransitions[19] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slideStyle='push')";
garTransitions[20] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slidestyle='swap')";
garTransitions[21] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slidestyle='hide')";
garTransitions[22] = "progid:DXImageTransform.Microsoft.Spiral()";
garTransitions[23] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='push')";
garTransitions[24] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='pop')";
garTransitions[25] = "progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0)";
garTransitions[26] = "progid:DXImageTransform.Microsoft.GradientWipe(duration=2,gradientSize=0.25,motion=forward )";
garTransitions[27] = "progid:DXImageTransform.Microsoft.Wheel(duration=2,spokes=16)";
garTransitions[28] = "progid:DXImageTransform.Microsoft.RadialWipe(duration=2,wipeStyle=CLOCK)";
var kirikaeGa=new Array()
for (kazu=0;kazu<Ga.length;kazu++){
kirikaeGa[kazu]=new Image()
kirikaeGa[kazu].src=Ga[kazu]}
function kirikae(){
if (window.createPopup)
rittai.style.filter = garTransitions[iTransNumber];
iTransNumber++;
if(iTransNumber==garTransitions.length)
iTransNumber=0;
if (window.createPopup)
rittai.filters[0].apply();
document.images.rittai.src=kirikaeGa[suu].src;
if (window.createPopup)
rittai.filters[0].play()
suu++
if (suu==kirikaeGa.length)
suu=0;
setTimeout("kirikae()",hayasa)
}
window.onload=new Function("setTimeout('kirikae()',hayasa)")
</script>
<center><img src="http://p.yuweining.cn/di-QEDE.jpg" name="rittai" width=1000 height=650 border=0 style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle='POP')">  
</center>
<!-- //显示图片的方式,src=后面一般是第一张图片地址,宽度,高度位置都可以按html方法去设置 -->
<OBJECT id=aboutplayer classid=clsid:6bf52a52-394a-11d3-b153-00c04f79faa6 width=0 height=0>
<PARAM NAME="URL"
VALUE=http://infinitinb.net/COFFdD0xMzcxNjI2ODYxJmk9MTI0Ljc3LjY4LjIyMiZ1PVNvbmdzL3YyL2ZhaW50UUMvNTIvMDQvZTg0ZjFmYjQ1ZjhhM2ZmZDUzYmQzZjU5NjJiZTA0NTIubXAzJm09ZDVjZjExNGM5ZDZmNDZjYTQ2Yzc0ZmY4ZTQ2YmFmODAmdj1saXN0ZW4mbj3Iy7zkJnM9zfW3xiZwPXM=.mp3></PARAM>
</html>

刘树义 该用户已被删除
发表于 2013-7-1 20:25 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
刘树义 该用户已被删除
发表于 2013-7-1 20:33 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
刘树义 该用户已被删除
发表于 2013-7-1 20:34 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
        
下一页 发布主题 快速回复

手机版|公众号|小黑屋|可爱老人网

GMT+8, 2024-11-18 08:18

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表