开发者

Stop and Start controls for jquery innerfade

开发者 https://www.devze.com 2023-01-29 09:22 出处:网络
I am trying to control this animation with a stop and start button. Does anyone know how to accomplish thi开发者_C百科s without using the cycle plugin?

I am trying to control this animation with a stop and start button. Does anyone know how to accomplish thi开发者_C百科s without using the cycle plugin?

<script type="text/javascript">
                $(document).ready(
                function(){


                    $('ul#portfolio').innerfade({
                        speed: 9000,
                        timeout: 5000,
                        type: 'sequence',
                        containerheight: '100%'
                    });



            });

link: http://daveywhitney.com/ok/


not sure what you mean but theres is a stop() function you can use, and then recall the animation func

Edit: I found this page using the plugin, which very nice, and includes a pause func. See the example #2, the bgFrame: 'squelettes/img/frame.png' I guess you may like to photoshop some nicer controls, but keep in mind to use the same dimensions, in order to implement it simply and fast.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号