> The documentation says that the before and after callback methods are > passed three arguments: > 1. the DOM element for the slide that is being transitioned in (same > as this) > 2. the DOM element for the slide that is being transitioned out > 3. the options object > > my guess is that should help, but it's not too well documented how > this works or what a code example of this would be.
The before and after callbacks are actually passed a 4th argument which is a boolean flag. The value is true when the slideshow is navigating forward and false when navigating backward.