chrishumboldt / Rocket-Flicker

A module that lets you flick through content.
212 stars 59 forks source link

Custom auto-flick-delay #40

Open tiagosantana opened 10 years ago

tiagosantana commented 10 years ago

Hey,

I tried to do a slideshow where some slides last longer than others but without success.

I've tried something like this:

<div class="flicker-example">
    <ul>
        <li data-background="img/flicker-1.jpg">
            <div class="flick-title">Flickerplate Is Working</div>
            <div class="flick-sub-text">Heaven forbid this package you downloaded is broken. That wouldn't be embarrassing at all.</div>
        </li>
        <li data-auto-flick-delay="60" data-background="img/flicker-2.jpg">
            <div class="flick-title">Teste</div>
            <div class="flick-sub-text">Take a look at the extensive documentation to see how you can change the settings in multiple ways.</div>
        </li>
        <li data-background="img/flicker-3.jpg">
            <div class="flick-title">Touch Enabled Through the Hammer.js Library</div>
            <div class="flick-sub-text"><a href="http://hammerjs.github.io/">Hammer.js</a> is a great touch library that has been included as part of the Flickerplate package.</div>
        </li>
    </ul>
</div>

The "data-auto-flick-delay" tag seems to work only on the main div ("flicker-example"). Is this possible to achieve?

Thanks.

chrishumboldt commented 9 years ago

Yes it should be. Must be a bug. I will log it and work on it soonest. Thanks for bringing it to my attention.