richardscarrott/jquery-ui-carousel — Issue #15: [bug] Continuous extension breaks goToPage
Author: richardscarrott
Created: 2011-10-24 23:46:56+00:00
State: open

The _isValid method is made void by the continuous extension to ensure the next and prev buttons will continue to get to _slide. This means using goToPage({any invalid number}) will cause the carousel to act as if it's doing a continuous loop (with the fake jumps).

This continuous index correction needs to be moved from the _slide method and into the prev and next methods, the CSS changes should ideally be kept in _slide and the _isValid method left alone.