🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Skate is a responsive, touch-enabled, flexible jQuery slider plugin for creating an image slideshow/carousel/rotator with ease.

Carousel Image-Rotator Responsive transitions

Documentation

Skate

Skate is a CSS-based and jQuery extended slide carrousel / image rotator / whatever-you-call-it.

Skate is a work in progress! I'm playing with this in my free time. While you can probably make use of the work up to this point, you may want to hold off doing anything production related with this code until this message is gone.

How to use (Look at the samples first, OK?) (also, I don't know why the highlighting is weird, too):

<div class="skate-custom">   <ul class="skate skate-css" data-skate="animation-type">     <li>       <a href="#">         <div>          SLIDE CONTENT         </div>       </a>     </li>   </ul> </div>

div.skate-custom is the container for all the skate-stuff (slides, nav, "pips" and "next/prev") and should have some height by default, which would be your "desktop" slide height. Skate expects you to do the smart stuff, not guess what you mean. ul.skate holds each slide. ul.skate > li is the slide CONTAINER, NOT THE SLIDE. DO NOT STYLE ul.skate > li!!! The li handles the animation of what is inside of it. DO NOT STYLE against the slide container.

More coming soon in terms of how to use this thing.

Features:

  • Responsive.
  • Animations for crossfade, slide, and cards.
  • Great CSS-only fallbacks.
  • Controls via mouse (i.e. next and previous buttons, and slide navigation).
  • Controls via keyboard with left and right arrows. Interaction steals keyboard focus (e.g. hover, click);
  • Controls via touch (i.e. swipe right and left, see know bugs).
  • Any content can be in a slide.
  • Setting for autoplay.
  • Transition speed and slide delay settings applied to both JS animations and CSS transitions.
  • Setting to adjust slide container height for dealing with multiple height slides within one deck. (JS Feature)
  • Custom events: skateReady, skateContainerHeightAdjustStart, skateContainerHeightAdjustEnd, skateTransitionStart, skateTransitionEnd, skateNoneTransitionStart, skateNoneTransitionEnd, skateCrossfadeTransitionStart, skateCrossfadeTransitionEnd, skateSlideTransitionStart, skateSlideTransitionEnd, skateCardsTransitionStart, skateCardsTransitionEnd
  • Create navigation in JS or reuse CSS navigation elements. (Implemented for create / merge but may need more options)

Features to implement in no particular order:

  • Progress bar for current slide duration.
  • Container classes change to indicate current activity.
  • Selector settings for tweaking default elements. (Needs testing; JS Feature)

Features under consideration:

  • Ajax load additional slides.

Other hopes and dreams that are at the very bottom of the priority list:

  • Solve the Montevallo problem if possible.
  • Custom namespaces.

Know Issues:

  • heightmatch animation may need to fire after transitions. Kinda stutters on a new rMBP.
  • Custom events are done with trigger(). Not sure if those should be jQ's special events.

You May Also Like