【代码应用】制作双层游动图片的代码
制作双层游动图片的代码
<DIV align=center><DIV style="LEFT: 0px; WIDTH: 680px; POSITION: relative; TOP: 0px; HEIGHT: 400px"><DIV style="BORDER-RIGHT: #008888 5px solid; BORDER-TOP: #008888 5px solid; LEFT: 0px; OVERFLOW: hidden; BORDER-LEFT: #008888 5px solid; WIDTH: 680px; BORDER-BOTTOM: #008888 5px solid; POSITION: relative; TOP: 0px; HEIGHT: 400px"><MARQUEE style="LEFT: -200px; POSITION: absolute; TOP: -398px" scrollAmount=1 scrollDelay=1 direction=down behavior=alternate width=1360height=1190><MARQUEE scrollAmount=1 scrollDelay=1 direction=right behavior=alternate width=1360><IMG src="http://static10.photo.sina.com.cn/orignal/5e1a7abfg8466223e17d9&690"></MARQUEE></MARQUEE></DIV><DIV style="LEFT: 490px; WIDTH: 180px; POSITION: absolute; TOP: 210px; HEIGHT: 180px"><TABLE cellSpacing=4 cellPadding=0 border=0><TBODY><TR><TD><DIV style="BORDER-RIGHT: #008888 5px solid; BORDER-TOP: #008888 5px solid; LEFT: 0px; OVERFLOW: hidden; BORDER-LEFT: #008888 5px solid; WIDTH: 180px; BORDER-BOTTOM: #008888 5px solid; POSITION: relative; TOP: 0px; HEIGHT: 180px"><DIV align=left><MARQUEE style="LEFT: -210px; POSITION: absolute; TOP: -270px" scrollAmount=1 scrollDelay=1 direction=down behavior=alternate width=680 height=680><MARQUEE scrollAmount=1 scrollDelay=1 direction=right behavior=alternate width=680><IMG src="http://static2.photo.sina.com.cn/middle/5e1a7abfg73a3cef2b281&690"></MARQUEE></MARQUEE></DIV></DIV><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P></TD></TR></TBODY></TABLE></DIV></DIV></DIV>