1.2.7 :: 30th Oct 2014
- Prevent native image dragging in Firefox when Sly dragging is active.
1.2.6 :: 11th Oct 2014
- Fixed dragging navigation collisions in nested Sly instances with crossed directions.
1.2.5 :: 28th Aug 2014
- Dragging overhaul. Fixes a lot of issues with touch dragging on mobile devices. You can test the difference here: http://fiddle.jshell.net/0duf5h6b/show/light/
1.2.4 :: 19th Aug 2014
- Implemented protection against hijacking global scrolling.
- Moved scrolling implementation from
mousewheel+DOMMouseScrolltowheelevent with fallback tomousewheelin IE8-. Introduced Chrome 31+ requirement if you want to use mouse wheel/trackpad scrolling.
1.2.3 :: 9th Feb 2014
- Fixed the need to click on an item twice to activate it after dragging finished from different target.
1.2.2 :: 18th Nov 2013
- Fixed Sly locking perpendicular touch scrolling.
1.2.1 :: 12th Nov 2013
- Fixed page generation for item-based navigation.
1.2.0 :: 31st Oct 2013
- Implemented scrolling speed normalization between different browsers and input devices. Scrolling speed with mouse or MacBook trackpads should feel similar now.
- Dragging initiation optimized to be more responsive. You no longer need to drag a certain destination before dragging kicks in.
- Sly'll now refuse to initiate dragging if source element is interactive. Meaning if you mousedown/touchstart on an
input,button,textarea, or aselectelement, dragging won't start. - Added
interactiveoption. It is a selector to extend the pool of what should be considered an interactive element. - Hand full of bug fixes.
1.1.0 :: 10th Sep 2013
- New method
.one(), binding events that should be executed only once. - Exposing
sly.initializedflag. - Fixed duplicate execution of some events.
- Fixed executing undefined callbacks when one of the prior callbacks in the queue unbound itself.
1.0.2 :: 4th Aug 2013
- Fixed dragEnd to correctly fire moveEnd event.
- Fixed infinite caused by dragEnd when
speed: 0. - Fixed mousewheel scrolling not working when jquery.mousewheel plugin is present.
1.0.1 :: 8th Jun 2013
- Implemented direction dependent dragging (horizontal Sly won't disable vertical scrolling on touch devices).
- Iteration on unresponsive taps when
touchDraggingis enabled. Needs feedback! - Optimized & improved
moveBymethod. It is now way faster, and can be called super often. Useful when you want to controlmoveBy()speed by mouse cursor position. moveBymethod now correctly triggersmoveStart&moveEndevents.- Fixed bugged handle resulting into bugged everything in one edge case of forceCentered navigation.
- Fixed incorrect styles being applied to FRAME & SLIDEE when 2D transforms are supported, but 3D are not.
- Fixed handle not moving in IE8 + parallax mode.
- Fixed some positioning functions not accepting
immediateargument. - Fixed
add()method not working in IE8. - Fixed
load()sometimes generating a redundant page item. - Fixed dragging release sometimes not un-binding event prevention handlers.
- Added dynamic native FRAME scroll reset. Native scroll on FRAME element happenes sometimes in some browsers, and shifts the SLIDEE position. Sly now listens for
scrollevent on FRAME, and resetsframe.scrollLeft&frame.scrollTopto0when that happens.
1.0.0 :: 24th Mar 2013
- Quite a hand full of bug fixes.
- itemNav split to multiple options to provide more control.
- New options activateOn & activatePageOn for more control over item/pages activation.
- dragging split to mouseDragging & touchDragging to provide more control.
- New options releaseSwing & swingSpeed for dragging navigation.
- Some option name changes for better semantics.
.cycle()method changed to.resume().cycleStart&cyclePauseevents renamed toresume&pause.- Implemented continuous movement navigation type.
- New methods
.moveBy()&.stop()for controlling the continuous movement. - New button options
forward&backwardutilizing the continuous movement. - New item manipulation methods
.add(),.remove(),.moveAfter(), and.moveBefore(). - Exposed a lot of Sly object properties, now documented on Properties page.
- Event callback arguments API change.
- New option itemSelector.
new Sly()now accepts selector as 1st argument.
1.0.0-rc.6 :: 6th Feb 2013
Well, this is embarrassing. It turns out, translateX/Y on its own doesn't trigger GPU acceleration. Which means that improvements in 0.10.0 were so awesome that it looked like it did anyway :) Changes made in this release:
- Finally enabling GPU acceleration in browsers that support it.
- Sets correct required properties on init.
- Minor bug fix in IE8 and lower.
This is the difference in repaint times when Sly is animating an area with 1080p resolution full of images.
1.0.0-rc.5 :: 27th Jan 2013
- Smarter division into pages for item based navigations.
- Bug fixes.
1.0.0-rc.4 :: 25th Jan 2013
- Fixed animated cycling broken in previous version. Whoops.
1.0.0-rc.3 :: 25th Jan 2013
- Position object min/max property names renamed to start/end.
- Implemented
immediateboolean argument for positioning methods. Whentrue, SLIDEE will be re-positioned without animation. - Bug fixes.
1.0.0-rc.2 :: 17th Jan 2013
- Item's position object returned from
.getPos()method in non-item based navigation now extended with itemsizeproperty.
1.0.0-rc.1 :: 17th Jan 2013
- Added
sly.jquery.jsonfor jQuery plugins registry. - Extended
.getPos()method to acceptitemargument, and return the passed item's position object.
1.0.0-rc :: 15th Jan 2013
- Option
dragrenamed todragging. I'm sorry, ... my OCD. - Restructured repository.
- Registered into Bower.
- Added proper build system with grunt.
0.14.0 :: 15th Jan 2013
- Implemented Parallax API.
- Increased path required for touch dragging initialization, so you can actually click items on touch devices when dragging is enabled.
0.13.1 :: 6th Jan 2013
- Fixed jQuery's
event.whichnot normalizing click events in <IE9, which basically disabled activation of items by clicking on them.
0.13.0 :: 5th Jan 2013
- Implemented touch events support.
- Added
.slyTo()and.slideBy()methods for non-item based navigations. - Added
.getPos()and.getRel()methods for retrieving the current Sly state. - Fixed
.destroy()method not resetting everything. - Minor speed optimization when removing
activeClassfrom items.
0.12.0 :: 4th Jan 2013
- New callbacks API providing better event driven interface than DOM events.
- New methods for callbacks API:
.on()&.off(). - Removed
returnInstanceargument. It is being replaced by a properSlyclass call alternative. - Added
callbacksMapargument to bind callbacks along with a plugin call before anything gets executed. - Options
keyboardNav&keyboardNavByPagesmerged intokeyboardNavBywith possible values:items, orpages. - New option
domEventsthat controls whether Sly triggers DOM events or not. Disabled by default.
0.11.0 :: 22nd Dec 2012
- Added navigation by clicking on scrollbar.
- New option
clickBarthat enables this feature - disabled by default.
0.10.0 :: 21st Dec 2012
- Minor plugin rewrite with huge performance improvements.
- Implemented custom animation rendering with requestAnimationFrame (ditching jQuery.animate altogether).
- Support for GPU accelerated animations in browsers that support it (using translateX/Y instead of absolute positioning).
- Using tweesing instead of tweening animation when dragging scrollbar handle or SLIDEE.
- New option
syncFactorcontrolling handle => SLIDEE synchronization tweesing speed.
Sly is now super smooth!
0.9.7 :: 31st Oct 2012
- Tweaks, bug fixes, and improved cycling API.
0.9.6 :: 19th Jul 2012
- Added
.set()method for changing options in runtime. Very limited though...
0.9.1-0.9.5 :: 13th Feb 2012 ~ 19th Jul 2012
- Goofing around, tweaking and fixing.
- Implemented automated cycling.
0.9.0 :: 13th Feb 2012
- First public version.