Permalink
Browse files

Update README.md

  • Loading branch information...
nicinabox committed Jul 26, 2013
1 parent aa49d64 commit 8a377ab869e800baea6ea1275a1e9e9883be041d
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -109,9 +109,9 @@ $('#slides').superslides('stop')
$('#slides').superslides('animate' [, index|'next'|'prev'])
$('#slides').superslides('size')
$('#slides').superslides('destroy')
-$('#slides').superslides('current')
-$('#slides').superslides('next') // go to next slide
-$('#slides').superslides('prev') // go to previous slide
+$('#slides').superslides('current') // get current slide index
+$('#slides').superslides('next') // get next slide index
+$('#slides').superslides('prev') // get previous slide index
```
If adding slides after initialization (a la ajax), be sure to call `update`.

0 comments on commit 8a377ab

Please sign in to comment.