zoukankan      html  css  js  c++  java
  • 跑马灯特效收集

    <marquee>...</marquee>普通卷动
    <marquee behavior=slide>...</marquee>滑动
    <marquee behavior=scroll>...</marquee>预设卷动
    <marquee behavior=alternate>...</marquee>来回卷动
    <marquee direction=down>...</marquee>向下卷动
    <marquee direction=up>...</marquee>向上卷动
    <marquee direction=right></marquee>向右卷动
    <marquee direction=left></marquee>向左卷动
    <marquee loop=2>...</marquee>卷动次数
    <marquee width=180>...</marquee>设定宽度
    <marquee height=30>...</marquee>设定高度
    <marquee bgcolor=FF0000>...</marquee>设定背景颜色
    <marquee scrollamount=30>...</marquee>设定滚动速度
    <marquee scrolldelay=300>...</marquee>设定卷动时间
    <marquee onmouseover="this.stop()">...</marquee>鼠标经过上面时停止滚动
    <marquee onmouseover="this.start()">...</marquee>鼠标离开时开始滚动

    鼠标移上,停止运动;鼠标离开,开始运动:

    <marquee direction=’left’ loop=2 width=960 height=30 scrollamount=30 scrolldelay=300 onmouseover="this.stop()" onmouseover="this.start()">...</marquee>

    图片跑马灯效果
    <a href="链接"; target="_blank"><img src="图片"; width="150" height="100"></a>

  • 相关阅读:
    【POJ 2044】 Weather Forecast
    【POJ 1703】 Find them,Catch them
    【SCOI 2005】 骑士精神
    字长与指针
    XModem协议
    SecureCRT乱码问题解决方法
    usb设备驱动程序
    如何检测 51单片机IO口的下降沿
    matlab神经网络工具箱创建神经网络
    九针串口接线问题, 232, 485
  • 原文地址:https://www.cnblogs.com/_ymw/p/1855973.html
Copyright © 2011-2022 走看看