From 4aed8d2dd5623176f98ef7d6241a312c5b3255a6 Mon Sep 17 00:00:00 2001 From: Ali Aghdam Date: Tue, 13 Mar 2018 11:15:36 +0330 Subject: [PATCH] add speed to defaults The speed can not be overrided by data-speed because the script checks defaults for "data-*" in line 107 https://i.imgur.com/QTB7ldN.png --- jquery.marquee.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jquery.marquee.js b/jquery.marquee.js index 76356cb..c75800f 100644 --- a/jquery.marquee.js +++ b/jquery.marquee.js @@ -474,6 +474,8 @@ duplicated: false, // duration in milliseconds of the marquee in milliseconds duration: 5000, + // Speed allows you to set a relatively constant marquee speed regardless of the width of the containing element. Speed is measured in pixels per second. + speed: 0, // gap in pixels between the tickers gap: 20, // on cycle pause the marquee