Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Releases for LocalScroll


LocalScroll 1.2.7

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

LocalScroll 1.2.6

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

LocalScroll 1.2.5

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

LocalScroll 1.2.3

1.2.3
[Fix]
- Added an extra check for an odd behavior of Firefox that it throws an error when checking the 'hash' attribute of a named anchor.

LocalScroll 1.2.2

1.2.2
[Improvements]
* Small improvements to make the code shorter.
* Made the code to set the hash in the url, cleaner.
[Features]
* Added the option 'lock', if true, the plugin will ignore events if already animating.

LocalScroll 1.2.1

1.2.1
- Renamed the option 'persistent' to 'lazy', I didn't like the name. Using persistent will still work (backwards compatibilty)

LocalScroll 1.2.0

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

LocalScroll 1.1.3

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

LocalScroll 1.1.2

1.1.2
- the option 'persistent' has been added, if true, links can be added later,

and will still work.
- if 'cancel' is set to false, the default behaviour of the anchor will

occur.
- An event can be specified, if click is not the desired one.

LocalScroll 1.1.1

1.1
- The defaults have been made public.
- Instead of letting jQuery.ScrollTo decide, the default speed has been overriden.

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

LocalScroll 1.1

- The defaults have been made public.
- Instead of letting jQuery.ScrollTo decide, the default speed has been overriden.

LocalScroll 1.0.2

* No change, but the version of jQuery.ScrollTo included in the pack, had a bug. :- (

LocalScroll 1.0.1

- 'onbefore' is now named 'onBefore', to keep jQuery.ScrollTo naming conventions.
- A filter can be specified, so that only some of the suitable links are bound.

LocalScroll 1.0

jQuery.LocalScroll 1.0

* This plugin requires jQuery.ScrollTo http://jquery.com/plugins/project/ScrollTo

* The hash of settings is passed in to jQuery.ScrollTo, so you can customize the speed, easing, etc. Check that plugin's documentation for further information.

* For a global conversion of links, just call jQuery.LocalScroll({..}) after the document is ready.