Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Doc updates

  • Loading branch information...
commit 9f3fa5934df5140c012f87a306c41fbd300fd9ee 1 parent 8763d36
@ryanflorence authored
Showing with 9 additions and 6 deletions.
  1. +9 −6 Docs/SlideShow/SlideShow.CSS.md
View
15 Docs/SlideShow/SlideShow.CSS.md
@@ -1,25 +1,28 @@
SlideShow.CSS {#SlideShow-CSS}
==============================
-Adds CSS3 transitions to SlideShow.
+Adds CSS3 transitions to SlideShow. Experimental!
-SlideShow Method: useCSS {#SlideShow:useCSS}
+### Dependencies
+
+* [CSSAnimation](http://github.com/rpflorence/cssanimation)
+
+SlideShow function: useCSS {#SlideShow:useCSS}
--------------------------------------------
Overrides the default transitions with CSS transitions.
### Syntax:
- mySlideShow.useCSS();
+ SlideShow.useCSS();
### Example:
You'll first want to verify if the browser supports CSS transitions and transforms, I typically use Modernizr:
#JS
- var slideshow = new SlideShow('slideshow');
if (Modernizr.csstransitions && Modernizr.csstransforms){
- slideshow.useCSS();
+ SlideShow.useCSS();
}
-Browsers that support transitions and transforms will use the new CSS transitions instead of the JavaScript transitions.
+Browsers that (think they) support transitions and transforms will use the new CSS transitions instead of the JavaScript transitions.
Please sign in to comment.
Something went wrong with that request. Please try again.