Tricks: Get index of current slide as integer

Sometimes you need to know, which slide is active. You can get the index* with the following code snippet:


* Please note, that the counting starts with 0.

Get as jQuery object

If you want to get the current slide directly as an object, just call this code snippet: