gaoss33 发表于 2008-7-14 01:10

鸟的飞翔

上传素材

[ 本帖最后由 gaoss33 于 2009-4-15 07:18 编辑 ]

gaoss33 发表于 2008-7-14 01:13

效果

<DIV style=\"position:relative; top:130px; left:-100px; width:800px; height:600px;overflow: hidden;\">

<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />

<IMG style=\"LEFT: 0px; POSITION: absolute; TOP: 0px\" src=\"http://www.yinhuabbs.cn/attachments/month_0904/20090415_425b94bcca14d87397d1j1WHUdecBnzi.jpg\">


<IMG id=xt1 style=\"LEFT: 13px; POSITION: absolute; TOP: 180px\" src=\"http://www.yinhuabbs.cn/attachments/month_0904/20090415_a39ae521fc7aa21b19cdLTM8jw50A06O.gif\" begin = \"\" end = \"\">
<t:animatemotion id=kyokusen1 path = \"m 0 0 c 236 -194 500 185 785 -190\" targetElement = \"xt1\" autoReverse = \"false\" begin = \"0\" dur = \"10\" fill = \"hold\" repeatCount = \"50\">
</t:animatemotion>
<t:transitionFilter from = \"0\" targetElement = \"xt1\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"out\" autoReverse = \"true\" dur = \"3\" repeatCount = \"indefinite\">
</t:transitionFilter>

</DIV>

[ 本帖最后由 gaoss33 于 2009-4-15 07:24 编辑 ]

gaoss33 发表于 2008-7-14 01:19

代码

<P>&lt;DIV style=\"position:relative; top:130px; left:-100px; width:800px; height:600px;overflow: hidden;\"&gt;</P>
<P>&lt;?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace /&gt;</P>
<P>&lt;--天空背景图--&gt;</P>
<P>&lt;IMG style=\"LEFT: 0px; POSITION: absolute; TOP: 0px\" src=\"http://www.yinhuabbs.cn/attachments/month_0904/20090415_425b94bcca14d87397d1j1WHUdecBnzi.jpg\"&gt;</P>
<P>&lt;--gif鸟--&gt;<BR>&lt;IMG id=xt1 style=\"LEFT: 13px; POSITION: absolute; TOP: 180px\" src=\"http://www.yinhuabbs.cn/attachments/month_0904/20090415_a39ae521fc7aa21b19cdLTM8jw50A06O.gif\" begin = \"\" end = \"\"&gt;</P>
<P>&lt;!--运动途径--&gt;<BR>&lt;t:animatemotion id=kyokusen1 path = \"m 0 0 c 236 -194 500 185 785 -190\" targetElement = \"xt1\" autoReverse = \"false\" begin = \"0\" dur = \"10\" fill = \"hold\" repeatCount = \"50\"&gt;<BR>&lt;/t:animatemotion&gt;</P>
<P>&lt;!--渐隐--&gt;<BR>&lt;t:transitionFilter from = \"0\" targetElement = \"xt1\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"out\" autoReverse = \"true\" dur = \"3\" repeatCount = \"indefinite\"&gt;<BR>&lt;/t:transitionFilter&gt;</P>
<P>&lt;/DIV&gt;</P>
<P> </P>
<P><STRONG><FONT color=#ff0000 size=6>注意:同叶面显示一定要改变 id=\"xt1\" 的值:xt1,同时改变下面两个targetElement = \"xt1\"的值同id一致。</FONT><BR></STRONG></P>

[ 本帖最后由 gaoss33 于 2009-4-15 07:37 编辑 ]

gaoss33 发表于 2008-7-14 01:20

<H2>关键数据</H2>
<DIV class=t_msgfont>path = \"m 0 0 c 236 -194 500 185 785 -190\" <BR>飞翔途径,每两组数字定一个坐标点,连接点组成一条弧曲线.<BR><BR>dur = \"10\"<BR>飞一次所需时间,单位\"秒\"<BR><BR>repeatCount = \"50\"<BR>飞翔次数:50次</DIV>
<DIV class=t_msgfont>                indefinite (不定)为无数次)<BR><BR>下面那个是渐隐代码<BR>dur = \"3\"<BR>每3秒隐一次.<BR><BR>还可加上变小,变大代码</DIV>
<DIV class=t_msgfont> </DIV>
<DIV class=t_msgfont> </DIV>
<DIV class=t_msgfont> </DIV>
<DIV class=t_msgfont> </DIV>

[ 本帖最后由 gaoss33 于 2008-8-26 20:48 编辑 ]

紫色灵枫 发表于 2008-7-14 01:46

学习了谢谢楼主分享啊

liuxj 发表于 2008-7-14 06:47

很有意思的代码,这样制作天空中飞翔的雄鹰简单多了。谢谢楼主。

一剑飘香红 发表于 2008-7-14 07:05

试一下过瘾
<DIV style=\"position:relative; top:130px; left:-100px; width:800px; height:600px;overflow: hidden;\">

<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />

<IMG style=\"LEFT: 0px; POSITION: absolute; TOP: 0px\" src=\"http://www.yinhuabbs.cn/attachments/month_0807/20080714_519e8cc02f32203b95ad6a0yjIn3YuXl.jpg\">


<IMG id=xt2 style=\"LEFT: 13px; POSITION: absolute; TOP: 180px\" src=\"http://www.yinhuabbs.cn/attachments/month_0807/20080714_71a28884974e65d6f019NUf8mbnCephC.gif\" begin = \"\" end = \"\">

<!--运动途径-->
<t:animatemotion id=kyokusen1 path = \"m 0 0 c 236 -194 500 185 785 -190\" targetElement = \"xt2\" autoReverse = \"false\" begin = \"0\" dur = \"10\" fill = \"hold\" repeatCount = \"50\">
</t:animatemotion>

<!--渐隐-->
<t:transitionFilter from = \"0\" targetElement = \"xt2\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"out\" autoReverse = \"true\" dur = \"3\" repeatCount = \"indefinite\">
</t:transitionFilter>

</DIV>

[ 本帖最后由 gaoss33 于 2008-7-14 07:29 编辑 ]

一剑飘香红 发表于 2008-7-14 07:05

呵呵,我的老鹰怎么飞不走

gaoss33 发表于 2008-7-14 07:27

原帖由 一剑飘香红 于 2008-7-14 07:05 发表 static/image/common/back.gif
呵呵,我的老鹰怎么飞不走
3楼底下有红色警告语

一剑飘香红 发表于 2008-7-15 16:01

谢谢楼上的,我再来试一下
<DIV style=\"position:relative; top:130px; left:-100px; width:800px; height:600px;overflow: hidden;\">

<?import namespace = t urn = \"urn:schemas-microsoft-com:time\" implementation = \"#default#time2\" declareNamespace />

<IMG style=\"LEFT: 0px; POSITION: absolute; TOP: 0px\" src=\"http://www.yinhuabbs.cn/attachments/month_0807/20080714_519e8cc02f32203b95ad6a0yjIn3YuXl.jpg\">


<IMG id=xt3 style=\"LEFT: 13px; POSITION: absolute; TOP: 180px\" src=\"http://www.yinhuabbs.cn/attachments/month_0807/20080714_71a28884974e65d6f019NUf8mbnCephC.gif\" begin = \"\" end = \"\">

<!--运动途径-->
<t:animatemotion id=kyokusen1 path = \"m 0 0 c 236 -194 500 185 785 -190\" targetElement = \"xt3\" autoReverse = \"false\" begin = \"0\" dur = \"10\" fill = \"hold\" repeatCount = \"50\">
</t:animatemotion>

<!--渐隐-->
<t:transitionFilter from = \"0\" targetElement = \"xt3\" to = \"1\" type = \"fade\" subType = \"crossFade\" mode = \"out\" autoReverse = \"true\" dur = \"3\" repeatCount = \"indefinite\">
</t:transitionFilter>

</DIV>
页: [1] 2 3 4 5 6 7 8
查看完整版本: 鸟的飞翔