Skip to content

Commit

Permalink
add speed to defaults
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aliaghdam committed Mar 13, 2018
1 parent f262906 commit 4aed8d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jquery.marquee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4aed8d2

Please sign in to comment.