marquee 无缝滚动插件 jQueryMarquee

码农软件 · 软件分类 · jQuery页面滚动插件 · 2019-12-27 05:56:25

软件介绍

jQueryMarquee 是一个基于 jquery 实现的 marquee 无缝滚动插件

一共有三个可选参数,一个回调方法。

$(dom).marquee(options, callback);

options 可选参数:

options : {
    direction : 'top',
    pixels : 5,
    speed : 30,
}
direction

移动方向:
    左:left
    右:right
    上:top
    下:bottom;
pixels

每次移动的像素数

speed

两次移动之前的间隔时间数(毫秒)
调用方法如下:

$("scroll-a").marquee();

$("scroll-b").marquee({direction:'top'});

$("scroll-c").marquee({direction:'right',pixels:2,speed:30});

$("scroll-d").marquee({direction:"bottom",pixels:2,speed:30}, function(){
    console.log("执行了一次");
});

 

本文地址:https://www.codercto.com/soft/d/22036.html

Compilers

Compilers

Alfred V. Aho、Monica S. Lam、Ravi Sethi、Jeffrey D. Ullman / Addison Wesley / 2006-9-10 / USD 186.80

This book provides the foundation for understanding the theory and pracitce of compilers. Revised and updated, it reflects the current state of compilation. Every chapter has been completely revised ......一起来看看 《Compilers》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换