rdallasgray/roto — Issue #6: Request: change button markup
Author: neftaly
Created: 2011-10-24 09:55:05+00:00
State: open

Hey there. Roto is working great, but I have a feature request regarding the buttons.
Not sure if this is where I'm supposed to post this, haven't used github before.

Can you please make button detection work purely via class names ("prev"/"next"), not on position (at the moment they must be after the UL tag) or type (so DIV's, A's, etc can be used, and not just BUTTONs).

This example would put a foward (<) and backward (>) button on either side of a dynamically-resized UL:

```

```

```

<

>

123

456

789

```
... whereas with the current system it's a fair bit more complicated (the UL block won't dynamically resize to fill only the space remaining on the line if floating objects are drawn after it).

Also (forgive me if this sounds a bit silly), but can you please use object arrays (c[0], c[1], c[2] etc) instead of manual names (c0, c1, c2 etc) in the demo code (as per the example above)?

Thanks!