bartaz/impress.js — pull request #70 by acasademont (2012-01-22 21:11:45+00:00)
Title: Set custom transition duration

I think it would be a nice idea to have the possibility of defining the transition time between slides. The '1s' default time it may be too much in certain situations.

So i defined a new data attribute "data-transition-duration" which by default is 1000ms (same as now).

```html

Step one!

Step two!

Step three!

```

Here we want that the transition time between steps 1 and 2 to be 500ms. And of course, transition time between 2 and 1 should also be 500ms (that's why we have to know if we are moving forward or backwards, because the transition-duration property is only defined once)