【图片移动跟我学】原创
╠博客学堂╣ 2007-12-02 14:35:30 阅读1421 评论 字号:大中小

☆从左向右移☆
↓复制框内语法↓ 【Q学堂】
|
<marquee direction=right><img src=图片地址 width=50 height =60></marquee>
|
☆从右向左移☆
↓复制框内语法↓ 【Q学堂】
|
<marquee><img src=图片地址 width=50 height=60></marquee>
|
☆向上移动☆
↓复制框内语法↓ 【Q学堂】
|
<marquee direction=up onmouseover=this.stop() scrollamount=3 onmouseout=this.start()><center><img src=图片地址 width=50 height=60></center></marquee>
|
☆向下移动☆
↓复制框内语法↓ 【Q学堂】
|
<marquee direction=down scrollamount=3><center><img src=图片地址 width=50 height=60></marquee>
|
☆来回移动☆
↓复制框内语法↓ 【Q学堂】
|
<marquee width=100% behavior=alternate scrollamount=5 ><img src=图片地址 width=50 height=60></marquee>
|
☆上下起伏☆
↓复制框内语法↓ 【Q学堂】
|
<marquee direction=left><marquee behavior=alternate direction=up height=100><img src=图片1width=50 height=60><img src=图片2width=50 height=60></marquee></marquee>
|
☆中间向两边☆
 中间向两边
 中间向两边
↓复制框内语法↓ 【Q学堂】
|
<center><marquee width=270 height=60><img src=图片1 width=50 height=60></marquee><marquee direction=right width=270 height=60><img src=图片2 width=50 height=60></marquee></center>
|
☆中间往上下☆
中间往上下
 中间往上下
↓复制框内语法↓ 【Q学堂】
|
<marquee direction=up onmouseover=this.stop() scrollamount=3 onmouseout=this.start><center><img src=图片1 width=50 height=60></marquee></center><marquee direction=down scrollamount=3><center><div style="filter:flipv;"><img src=图片2 width=50 height=60></div></center></marquee>
|
☆整排来回移☆
↓复制框内语法↓ 【Q学堂】
|
<MARQUEE scrollAmount=3 scrollDelay=30 behavior=alternate width="100%" height=128><IMG height=128 src=图片1 width=128 border="0"></A><A><IMG height=128 src=图片2 width=128 border=0></A> <A><IMG height=128 src=图片3 width=128 border=0></A> <A><IMG height=128 src=图片4 width=128 border=0></A> <A><IMG height=128 src="图片5 width=128 border=0></A> <A><IMG height=128 src=图片6 width=128 border=0></A> <A><IMG height=128 src=图片7 width=128 border=0></A> <A><IMG height=128 src=图片8 width=128 border=0></A> <IMG height=128 src=图片9 width=128 border=0></A></MARQUEE>
|
代码说明: 红色部分为图片地址 紫色部分为图片大小 绿色为移动方向 白色部分为移动范围 黄色部分为移动速度 多图片移动应选择图片大小一样,效果会比较好 |
<P%20STYLE=" TEXT-INDENT: 2em?> |
|
|
|