Great TinySlider 2 with jQuery

Great TinySlider 2 with jQuery

This full-featured and standalone JavaScript slider is easily configurable and visually customizable using CSS. It also clocks in at a tiny 3KB. Features included from the first version include automatic rotation with the option to auto-resume, an active class on a navigation list if applicable, and a direction toggle (vertical or horizontal). Updates include more fluid motion, an elastic tween option, continuous sliding without rewind, and a couple other fixes/tweaks. It accepts any content and gracefully degrades when JavaScript isn’t available. Stay tuned for an updated TinyBox soon
To initialize the script use the following:
01var slideshow=new TINY.slider.slide('slideshow',{
02id:'slider',
03auto:4, // false for no automation else the number of seconds between slides
04resume:false// continue auto sliding after interruption
05vertical:false,
06navid:'pagination'// ID of pagination UL
07activeclass:'current'// active class for pagination
08position:0, // initial position index
09rewind:false// toggle "rewinding", else the slides will be continuous
10elastic:true// toggle the bouncing effect of the slides
11left:'slideleft'// ID of left nav, to cancel cursor selection
12right:'slideright' // ID of left nav, to cancel cursor selection
13});
The first parameter taken by TINY.slider.slide is the variable name used for the object instance. You can also manually set the width/height parameter for the applicable direction you are sliding. If it is not set the width or height will be automatically calculated using the first list element. This script has been tested in all major browsers and is available free of charge for both personal or commercial projects under the creative commons license.  Images are copyrighted by Warner Bros.
Great TinySlider 2 with jQuery Great TinySlider 2 with jQuery Reviewed by JohnBlogger on 11:35 AM Rating: 5

No comments: