-
Notifications
You must be signed in to change notification settings - Fork 56
/
CHANGELOG
91 lines (77 loc) · 3.55 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
1.3.2
[Misc]
- Import jQuery.isNumeric since it's deprecated (fixes #17)
- Switch jQuery.fn.bind to jQuery.fn.on (fixes #16)
1.3.1
[Misc]
- Bower name made lower case
1.3.0
[Compat]
- Updated to work with jQuery.scrollTo 2.0
1.2.4.1
[Misc]
- Using $.isNumeric instead of isNaN
1.2.4
[Misc]
- Re-releasing for the jQuery plugins site
1.2.3
[Enhancement]
- Removed a redundant code
- If there's no matched container ('target') serialScroll just ignores the call.
- The setting 'interval' implicitely assumes 'force' as true.
[Fix]
- The setting 'stop' wasn't working on window.
[Misc]
- Changed licensing to MIT
- Repo is compliant with official jquery plugins repository
1.2.2
[Enhancement]
- Removed the check that avoids re-scrolling to the same index, this might be desirable sometimes.
- The settings object is exposed in the onBefore as the 'this'.
1.2.1
[Feature]
- Added option 'exclude' to indicate the plugin to exclude some elements from the scrolling items.
[Enhancement]
- If less items than 'step' are missing, the plugin will firstly show those, and then cycle or not.
- When cycling, the option 'step' is ignored, and the step is 1. So after the last, comes the 1st and the other way around.
1.2.0
[Feature]
- You can notify SerialScroll that the active item changed, by using the event notify.serialScroll.
- Thanks to the event notify, this plugin can be now closely integrated with LocalScroll(1.2.5 or higher).
- Also, thanks to notify, you can call SerialScroll on the same element more than once, and they interact nicely.
- You can specify the option 'target', and then the matched elements become the context of all the selectors,
and target matches the element to be scrolled. This allows you to call SerialScroll on many element at the same time.
- You can combine the options 'jump' and 'lazy' (not adviced if no target is specified).
- LocalScroll and SerialScroll are so compatible, that they can use the same hash of settings.
- Added option 'constant'(true by default), specifies whether the speed must be constant or not.
- Added option 'navigation' to add a group of element to jump to the items.
[Fix]
- If you call the plugin on the same (scrollable)element more than once, the custom events get bound only in the first call.
[Change]
- The event 'start' no longer receives the interval, you must set it at start, stop/start only pause/restart.
1.1.2
[Fix]
- The next handler was receiving event type 'next' and as target the container.
1.1.1
[Feature]
- Added events start and stop, to manage the autoscrolling.
[Fix]
- The step can be negative, to go in the other way, before it would mess up the duration.
1.1.0
[Change]
- Relicensed from GPL to GPL+MIT.
[Optimization]
- The animation is skipped if a bad position was received or it's the same as the actual. Saving some overhead.
[Feature]
- The plugin binds 3 events to the container to allow external manipulation.
* prev.serialScroll, next.serialScroll, goto.serialScroll.
You use them like this: $(your_container).trigger('next'), $(your_container).trigger('goto', [5]) (0-based index).
If for some odd reason, the element already has any of these events bound, trigger with the namespace.
- Added 2 more arguments to the onBefore callback: actual item collection, index of the actual item in the collection.
- Added option 'interval', can be a number specifying the amount of milliseconds for autoscrolling.
1.0.1
[Feature]
- if 'onBefore' returns false, the plugin will ignore the event.
- Added option 'lazy'.
1.0.0
- First release.