PDA

View Full Version : [FIXED-20] Carousel getActiveItem + previous not working



rdougan
2 Jun 2010, 3:55 AM
Carousel getActiveItem + previous not working

rdougan
11 Jun 2010, 11:51 AM
Still not working. Checked on edge on the carousel example.

Remove 'var' from line 8, in console type:
carousel1.getActiveItem()

or
carousel1.next()

next/previous moves the indicator, but nothing changes.

Tested in latest webkit + chromium.

xantus
11 Jun 2010, 6:04 PM
I added the getActiveItem accessor

carousel1.next(true) will change the indicator and scroll to the card. I'm not sure why tommy did it like that but I'm going to leave it as-is until we talk to him.