图片滚动代码--1

图片滚动代码 (从右向左滚动)

<marquee scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">

<img border="0" src=" http://要滚动的图片地址1">

<img border="0" src=" http://要滚动的图片地址2">

</marquee>



图片滚动代码 (从下往上滚动)

<marquee onMouseOver="this.stop()" onMouseOut="this.start()" align=center direction=up scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">

<img border="0" src=" http://要滚动的图片地址1">

<img border="0" src=" http://要滚动的图片地址2">

</marquee>



<marquee behavior="scroll" direction="left" loop="-1" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="2" scrolldelay="0" truespeed="truespeed">
<img src="http://luobao2005.bokee.com/inc/h1.gif" width="180" height="255" border="0">></img>
<img src="http://luobao2005.bokee.com/inc/h1.gif" width="180" height="255" border="0">></img>
<img src="http://luobao2005.bokee.com/inc/h1.gif" width="180" height="255" border="0">></img>
<img src="http://luobao2005.bokee.com/inc/h1.gif" width="180" height="255" border="0">></img>
<img src="http://luobao2005.bokee.com/inc/h1.gif" width="180" height="255" border="0">></img>
</marquee>


direction表示方向,left,right,up,down
scrollamount="2"表示速度
上面的这三个,图片都是全部滚动完之后再从第一张开始滚动



你可能感兴趣的:(UP)