效果图代码
<DIV align=center> </DIV> <DIV align=center> <TABLE style="WIDTH: 890px; HEIGHT: 650px" borderColor=#c00000 align=center border=3> <TBODY> <TR> <TD> <CENTER> <MARQUEE behavior=alternate width=890 height=650 scrolldely="100" align="center"> <TABLE borderColor=#999999 height=650 cellSpacing=0 cellPadding=0 width=8000 border=0> <TBODY> <TR> <TD width=8000 height=650><IMG title="移动背景里添加FLASH动画的技巧(原创) - 舒芳诗林 - 舒芳诗林的博客" alt="移动背景里添加FLASH动画的技巧(原创) - 舒芳诗林 - 舒芳诗林的博客" src="http://image41.360doc.com/DownloadImg/2011/11/0816/19115640_1.jpg"> </TD> </TR></TBODY></TABLE></MARQUEE></CENTER></TD></TR></TBODY></TABLE></DIV> <DIV style="LEFT: 45px; POSITION: absolute; TOP: 155px"> <CENTER> <MARQUEE behavior=alternate width=880 height=600 scrolldely="100" align="center"> <TABLE borderColor=#999999 height=600 cellSpacing=0 cellPadding=0 width=1800 border=0> <TBODY> <TR> <TD width=600 height=600><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://imgfree.21cn.com/free/flash/9.swf width=600 height=600 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"></TD> <TD width=600 height=600><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www3./toumingflash/swf500/woso7_flash_19.swf width=600 height=600 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"></TD> <TD width=600 height=600><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://imgfree.21cn.com/free/flash/9.swf width=600 height=600 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"></TD></TR></TBODY></TABLE></MARQUEE></CENTER></DIV>
参数详解:1、黄色为图片不间歇滚动代码,红色为FLASH动画不间歇滚动代码
2、<DIV style="LEFT: 45px; POSITION: absolute; TOP: 155px"> 定位代码 3、如果要增加图片滚动,就在粉色代码前插入 <TD width=图片宽度 height=图片高度><IMG src="图片地址"> </TD>
如要要增加FLASH动画,就在蓝色代码前再插入<TD width=宽度 height=高度><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=FLASH动画地址 width=宽度 height=高度 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"></TD>,如果你加入的非透明FLASH,那么在EMBED后插入羽化代码style="FILTER: Alpha(opacity=100,style=2); 多图片滚动加入FLASH的效果,大家还可以欣赏阿芳的原创作品《忆江南》 |