> For some reason  var index = $
> (this).parent().children().index(this); returns -1  and it appears to
> be stuck in the onAfter method.


Hmm.  Try this instead:

function onAfter(curr, next, opts) {
    var index = opts.currSlide;
    ....
};

Reply via email to