滚动图片--古代四大美女

代码如下:

<MARQUEE 180px; HEIGHT: 280px" scrollAmount=1 scrollDelay=1 behavior=alternate height=280>

<A href="http://blog.sina.com.cn/main/html/showpic.html#url=http://static13.photo.sina.com.cn/bmiddle/5052f6e8447a8ab90b23c" target=_blank><IMG src="http://static13.photo.sina.com.cn/bmiddle/5052f6e8447a8ab90b23c" border=0></IMG></A>

<A href="http://blog.sina.com.cn/main/html/showpic.html#url=http://static4.photo.sina.com.cn/bmiddle/5052f6e806d90ddf9ad33" target=_blank><IMG src="http://static4.photo.sina.com.cn/bmiddle/5052f6e806d90ddf9ad33" border=0></IMG></A>

<A href="http://blog.sina.com.cn/main/html/showpic.html#url=http://static1.photo.sina.com.cn/bmiddle/5052f6e8447a8b45be730" target=_blank><IMG src="http://static1.photo.sina.com.cn/bmiddle/5052f6e8447a8b45be730" border=0></IMG></A>

<A href="http://blog.sina.com.cn/main/html/showpic.html#url=http://static10.photo.sina.com.cn/bmiddle/5052f6e8447a8abd05e09" target=_blank><IMG src="http://static10.photo.sina.com.cn/bmiddle/5052f6e8447a8abd05e09" border=0></IMG></A>

</MARQUEE>

behavior=alternate 表示左右来回滚动,若需向不同方向滚动,将下面代码替换红色部分即可

向上滚动:direction=up 向下滚动:direction=down

向左滚动:direction=left 向右滚动:direction=right

另:若想做出循环效果,不妨将上述代码中粉红色部分,也就是图片部分多复制几遍,视觉上有一种循环的感觉,效果不错,试试看。

>>>QQ470681378

推荐阅读☆☆☆☆☆