仲秋 发表于 2008-4-2 09:32

<DIV style=\"position:relative; top:0px; left:0px; width:800px;height:500px\">
<STYLE type=\"text/css\">
<!--
.time{
behavior:url(#default#time2);
}
t\\:* {
behavior: url(#default#time2);
}
v\\:* {
behavior: url(#default#VML);
}
-->
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<div style=\"position:absolute; top:0; left:0; width:300; height:234;\">
<IMG src=\"http://media.imhb.cn/homepic/2008/3/11/20080311203703_41184.jpg\" style=\"position:absolute; left:0; top:0; width:300; height:247;\">
<IMG id=\"s1\" src=\"http://media.imhb.cn/homepic/2008/3/11/20080311203703_41184.jpg\" style=\"position:absolute; left:0; top:234; width:300; height:234; filter:Wave(Add=0,freq=12,LightStrength=10,Phase=0,Strength=4) alpha(opacity=100) Flipv;\">
</div>
<t:animate targetElement=\"s1\" attributeName=\"filters.Wave.Phase\" from=\"100\" to=\"0\" begin=\"0\" dur=\"2\" end=\"\" autoreverse=\"false\" repeatcount=\"indefinite\"/></div>

faruyun 发表于 2008-4-8 22:18

<DIV style=\"position:relative; top:30px; left:0px; width:700px;height:120px\">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<DIV align=center><div id=z4 style=\"position: absolute; filter:filter: Alpha(Opacity=100,Style=0)\"><font face=华文新魏 color=#0000fa size=7><b>谢谢小白兔</b></font><br>

<t:animate targetElement=\"z4\" attributeName=\"filters.Alpha.Opacity\" from=\"100\" to=\"0\" begin=\"0\" dur=\"4\" end=\"\" autoreverse=\"false\" repeatcount=\"indefinite\"/>
</div>
</div>
</div>
<br><br><br>

天天 发表于 2008-4-16 00:06

<font size=9>老师辛苦了</font><br><BR><BR>

<DIV style=\"position:relative; top:30px; left:0px; width:700px;height:300 \">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<IMG id=\"t2\" src=\"http://www.yinhuabbs.cn/attachments/month_0711/20071127_3bd06ba0003bb4f8cc15l3bsYN99nJ27.gif\" style=\"position:absolute; left:0; top:0; width:300; height:212;filter:glow(color=#aeff00 strength=10);color:white\">

<t:animate targetElement=\"t2\" attributeName=\"filters.glow.strength\" from=\"6\" to=\"0\" begin=\"0\" dur=\"1\" end=\"\" autoreverse=\"false\" repeatcount=\"indefinite\"/></div>

[ 本帖最后由 天天 于 2008-4-16 00:15 编辑 ]

老树新枝 发表于 2008-4-16 12:49

谢谢版主,这代码很实用.

蝴蝶来过 发表于 2008-4-22 09:47

这个alpha滤镜效果,怎样做出两张或三张图片轮换的效果呢?

蝴蝶来过 发表于 2008-4-22 09:48

我也试试看

<DIV style=\"position:relative; top:30px; left:0px; width:700px;height:300px\">
<STYLE>.time {
BEHAVIOR: url(#default#time2)
filter: /*ALE*/ }
</STYLE>
<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />
<DIV align=center>
<IMG id=t4 src=http://www.yinhuabbs.cn/attachments/month_0804/20080422_3df922fdf3e67ce89b90CKr8gK9wkQZH.jpg style=\"filter: Alpha(Opacity=100,Style=0)\" border=0><t:animate targetElement=\"t4\" attributeName=\"filters.Alpha.Opacity\" from=\"100\" to=\"0\" begin=\"0\" dur=\"4\" end=\"\" autoreverse=\"false\" repeatcount=\"indefinite\"/>

</div>
</div>

[ 本帖最后由 蝴蝶来过 于 2008-4-22 10:04 编辑 ]

蝴蝶来过 发表于 2008-4-30 13:36

怎么就不行呢

<DIV></DIV><SPAN style=\"LEFT: 0px; POSITION: absolute; TOP: 0px\"><IMG id=revealpict style=\"FILTER: blendTrans(duration=6,transition=12); VISIBILITY: hidden\" height=650 src=\"http://image.hnol.net/200504/zctx/B/Z2.jpg\" width=1024 align=middle> </SPAN>
<SCRIPT language=JavaScript>

var rpic1;

var rpic2;

function blendTrans() {

rpic1 = revealpict;

rpic1.filters.blendTrans.Apply();

rpic1.style.visibility = \"visible\";

rpic1.filters.blendTrans.Play();

setTimeout(\'doIt()\', 10000);

}

function doIt() {

rpic2 = revealpict

rpic2.filters.blendTrans.Apply();

rpic2.style.visibility = \"hidden\";

rpic2.filters.blendTrans.Play();

setTimeout(\'blendTrans()\', 10000);

}

window.onload=blendTrans

</SCRIPT>

<DIV style=\"LEFT: 0px; WIDTH: 961px; POSITION: absolute; TOP: -100px; HEIGHT: 658px\"><EMBED src=http://www.hua8.cn/srftp/feng/flash/星星1.swf width=963 height=399 type=application/octet-stream wmode=\"transparent\" quality=\"high\"></DIV>

haohanyu 发表于 2008-5-2 17:55

谢谢LZ。学习了!

止水寒冰 发表于 2008-5-4 01:20

还真是不错的效果

sybing1017 发表于 2008-5-16 01:04

很漂亮
页: 1 2 [3] 4 5 6
查看完整版本: 用代码做动态的滤镜效果