图片滚动代码--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"表示速度
上面的这三个,图片都是全部滚动完之后再从第一张开始滚动
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值