root / tei / js / changes.txt @ 2
Historique | Voir | Annoter | Télécharger (3,28 ko)
1 | 2 | mingarao | 1.2.7 |
---|---|---|---|
2 | 2 | mingarao | [Feature] |
3 | 2 | mingarao | - The set of settings can be accessed from within the onBefore as 'this'. |
4 | 2 | mingarao | - The hash is set before scrolling, so the back button works (when scrolling the window). |
5 | 2 | mingarao | - The option hash doesn't make the window jump when scrolling overflown elements (making it usable). |
6 | 2 | mingarao | - $.localScroll.hash now resets the element by default |
7 | 2 | mingarao | [Enhancement] |
8 | 2 | mingarao | - Various enhancements, updated to take advantage of scrollTo +1.4.x |
9 | 2 | mingarao | [Change] |
10 | 2 | mingarao | - The element that triggered the scroll cannot be accessed anymore (useless). |
11 | 2 | mingarao | - settings.persistent is no longer supported. |
12 | 2 | mingarao | |
13 | 2 | mingarao | 1.2.6 |
14 | 2 | mingarao | [Enhancement] |
15 | 2 | mingarao | - areas(from image maps) are now formally supported, it was possible before by setting 'lazy' to true. |
16 | 2 | mingarao | [Fix] |
17 | 2 | mingarao | - When hash:true, a queue problem could arise. |
18 | 2 | mingarao | |
19 | 2 | mingarao | 1.2.5 |
20 | 2 | mingarao | [Feature] |
21 | 2 | mingarao | - LocalScroll can now be safely combined with SerialScroll(1.2.0 or higher). |
22 | 2 | mingarao | |
23 | 2 | mingarao | 1.2.4 |
24 | 2 | mingarao | [Feature] |
25 | 2 | mingarao | - If onBefore returns false, the event is ignored. |
26 | 2 | mingarao | - Relicensed from GPL to GPL+MIT. |
27 | 2 | mingarao | |
28 | 2 | mingarao | 1.2.3 |
29 | 2 | mingarao | [Fix] |
30 | 2 | mingarao | - Added an extra check for an odd behavior of Firefox that it throws an error when checking the 'hash' attribute of a named anchor. |
31 | 2 | mingarao | |
32 | 2 | mingarao | 1.2.2 |
33 | 2 | mingarao | [Optimizations] |
34 | 2 | mingarao | * Small improvements to make the code shorter. |
35 | 2 | mingarao | * Made the code to set the hash in the url, cleaner. |
36 | 2 | mingarao | [Features] |
37 | 2 | mingarao | * Added the option 'lock', if true, the plugin will ignore events if already animating. |
38 | 2 | mingarao | |
39 | 2 | mingarao | 1.2.1 |
40 | 2 | mingarao | [Changes] |
41 | 2 | mingarao | * Renamed the option 'persistent' to 'lazy', I didn't like the name. Using persistent will still work (backwards compatibilty) |
42 | 2 | mingarao | |
43 | 2 | mingarao | 1.2 |
44 | 2 | mingarao | [Optimizations] |
45 | 2 | mingarao | * Replaced a $('[name='+id+']') for a document.getElementsByName(id) to improve perfomance. |
46 | 2 | mingarao | [Fixes] |
47 | 2 | mingarao | * Now the last argument received by onBefore when scrolling the window, is no more $(window) but the real element being scrolled. |
48 | 2 | mingarao | [Features] |
49 | 2 | mingarao | * Added the option 'stop', if true (default), each click will stop any previous animations of the target. |
50 | 2 | mingarao | * Removed the option 'cancel' that wasn't working and added the option 'hash' that does that as it should. After the scroll, the hash is added to the address bar. |
51 | 2 | mingarao | * Added $.localScroll.hash( settings ); which will scroll to the given element if the URL contains a valid hash. |
52 | 2 | mingarao | [Changes] |
53 | 2 | mingarao | * Modified the regular demo, to make it show these last changes. |
54 | 2 | mingarao | |
55 | 2 | mingarao | 1.1.4 |
56 | 2 | mingarao | * The event propagation is not stopped anymore, only the default prevented. |
57 | 2 | mingarao | * The option cancel works as expected (not yet) |
58 | 2 | mingarao | |
59 | 2 | mingarao | 1.1.3 |
60 | 2 | mingarao | * Added semicolon to the start, for safe file concatenation |
61 | 2 | mingarao | * Changed the default named 'speed' for 'duration', following the change in jQuery.ScrollTo 1.3 |
62 | 2 | mingarao | * jQuery.ScrollTo 1.3 improved the behavior when scrolling the window, among the different browsers, jQuery.localScroll now delegates this responsability completely. |
63 | 2 | mingarao | * Modified the demo according to these changes. |
64 | 2 | mingarao | * The third argument of onBefore, is now $(window) if settings.target is null (the whole window is scrolled) |
65 | 2 | mingarao | |
66 | 2 | mingarao | 1.1.2 |
67 | 2 | mingarao | * The option 'persistent' has been added, if true, links can be added later, and will still work. |
68 | 2 | mingarao | * If 'cancel' is set to false, the default behaviour of the anchor will occur. |
69 | 2 | mingarao | * An event can be specified, if click is not the desired one. |
70 | 2 | mingarao | |
71 | 2 | mingarao | 1.1.1 |
72 | 2 | mingarao | * The anchor filter has been optimized. |
73 | 2 | mingarao | * A bug was fixed, clicking an anchor with href=# and then a special link, wasn't scrolling. |
74 | 2 | mingarao | |
75 | 2 | mingarao | 1.1.0 |
76 | 2 | mingarao | * The defaults have been made public. |
77 | 2 | mingarao | * Instead of letting jQuery.ScrollTo decide, the default speed has been overriden. |