LeaVerou / inspire.js

Lean, hackable, extensible slide deck framework. Previously known as CSSS.
https://inspirejs.org
MIT License
1.73k stars 254 forks source link

Numbers in corner get confused #6

Open remy opened 13 years ago

remy commented 13 years ago

Navigate forward, about half way, go back, then go forward, the numbers get confused.

LeaVerou commented 13 years ago

Are you referring to the thing that happens for a sec until the transition finishes or something else?

remy commented 13 years ago

Yep - since the transition hides everything, and only once the transition ends does it change.

Guessing what the code looks like, I'd hook the webkitTransitionEnd event on the first fade down, update then number then, and then let it fade up.

LeaVerou commented 13 years ago

The numbers are just CSS counters, there's no JS involved in that. But yeah, I want to solve this for ages. Thanks for creating an issue about it, that'll remind me. :)