Statistiques
| Révision :

root / tei / js / changes.txt @ 2

Historique | Voir | Annoter | Télécharger (3,28 ko)

1
1.2.7
2
[Feature]
3
- The set of settings can be accessed from within the onBefore as 'this'.
4
- The hash is set before scrolling, so the back button works (when scrolling the window).
5
- The option hash doesn't make the window jump when scrolling overflown elements (making it usable).
6
- $.localScroll.hash now resets the element by default
7
[Enhancement]
8
- Various enhancements, updated to take advantage of scrollTo +1.4.x
9
[Change]
10
- The element that triggered the scroll cannot be accessed anymore (useless).
11
- settings.persistent is no longer supported.
12

    
13
1.2.6
14
[Enhancement]
15
- areas(from image maps) are now formally supported, it was possible before by setting 'lazy' to true.
16
[Fix]
17
- When hash:true, a queue problem could arise.
18

    
19
1.2.5
20
[Feature]
21
- LocalScroll can now be safely combined with SerialScroll(1.2.0 or higher).
22

    
23
1.2.4
24
[Feature]
25
- If onBefore returns false, the event is ignored.
26
- Relicensed from GPL to GPL+MIT.
27

    
28
1.2.3
29
[Fix]
30
- 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

    
32
1.2.2
33
[Optimizations]
34
* Small improvements to make the code shorter.
35
* Made the code to set the hash in the url, cleaner.
36
[Features]
37
* Added the option 'lock', if true, the plugin will ignore events if already animating.
38

    
39
1.2.1
40
[Changes]
41
* Renamed the option 'persistent' to 'lazy', I didn't like the name. Using persistent will still work (backwards compatibilty)
42

    
43
1.2
44
[Optimizations]
45
* Replaced a $('[name='+id+']') for a document.getElementsByName(id) to improve perfomance.
46
[Fixes]
47
* Now the last argument received by onBefore when scrolling the window, is no more $(window) but the real element being scrolled.
48
[Features]
49
* Added the option 'stop', if true (default), each click will stop any previous animations of the target.
50
* 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
* Added $.localScroll.hash( settings ); which will scroll to the given element if the URL contains a valid hash.
52
[Changes]
53
* Modified the regular demo, to make it show these last changes.
54

    
55
1.1.4
56
* The event propagation is not stopped anymore, only the default prevented.
57
* The option cancel works as expected (not yet)
58

    
59
1.1.3
60
* Added semicolon to the start, for safe file concatenation
61
* Changed the default named 'speed' for 'duration', following the change in jQuery.ScrollTo 1.3
62
* jQuery.ScrollTo 1.3 improved the behavior when scrolling the window, among the different browsers, jQuery.localScroll now delegates this responsability completely.
63
* Modified the demo according to these changes.
64
* The third argument of onBefore, is now $(window) if settings.target is null (the whole window is scrolled)
65

    
66
1.1.2
67
* The option 'persistent' has been added, if true, links can be added later, and will still work.
68
* If 'cancel' is set to false, the default behaviour of the anchor will occur.
69
* An event can be specified, if click is not the desired one.
70

    
71
1.1.1
72
* The anchor filter has been optimized.
73
* A bug was fixed, clicking an anchor with href=# and then a special link, wasn't scrolling.
74

    
75
1.1.0
76
* The defaults have been made public.
77
* Instead of letting jQuery.ScrollTo decide, the default speed has been overriden.