Archive for November 30, 2011
-
jQuery Rambling Slider v0.2.1 released!
November 30, 2011
This post was originally published in the Rambling Labs Blog on November 30, 2011.
This one, as opposed to version 0.2.0 is mostly tests added, refactoring and one bug fix. Also, changed some parameters order to have a more consistent API, for the transition extensibility. You can download it from GitHub, browse the tags and read the project’s wiki for documentation.
This release includes:
- Fixed the flash flickering before initializing.
- Added tests for ‘slideUpDownSlices’, ‘foldSlices’ and ‘fadeSlices’ (#6).
- Added tests for ‘slideUpSlices’ and ‘slideDownSlices’.
- Added tests for the ‘animateBoxes’ helper.
- Added ‘sliceFade’ to the transition groups.
- Changed the parameters order for the ‘animateSlices’ helper.
- Added tests for the ‘animateSlices…
-
Extending the jQuery Rambling Slider
November 30, 2011
This post was originally published in the Rambling Labs Blog on November 30, 2011.
One of the core features added in version 0.2.0 of the jQuery Rambling Slider is the ability to customize the transitions between images, between flash elements and between an image and a flash element.
As it is described in the Adding and Overriding Transitions page in the project’s wiki, in order to do this you have to something like this:
$(window).load(function(){ $('#slider').ramblingSlider({ imageTransitions: { /* Add a 'fadeInSlices' transition */ fadeInSlices: function() { /* ... */ }, /* Override the 'sliceUpRight' transition */ sliceUpRight: function() { /* ... */ } /* ... */ …