jQuery Cycle2 doesn't working

I'm using Cycle2 (2.1.5) jQuery plugin with jQuery 1.8.3. Now I load these two cycle2's files:

jquery.cycle2.min.js
jquery.cycle2.carousel.min.js

I'm using this HTML code:

<ul class="cycle-slideshow vertical" id="cycle-1" style="float: right;"
    data-cycle-fx="carousel"
    data-cycle-timeout="0"
    data-cycle-carousel-visible="2"
    data-cycle-carousel-vertical="true"
    data-cycle-slides="li"
    data-cycle-speed="1000"
>
    <li>blabla 1</li>
    <li>blabla 2</li>
    <li>blabla 3</li>
    <li>blabla 4</li>
</ul>

Everythings loaded fine, no error messages, but the slideshow doesn't start. Is there any trick to start it automatically?

Answers


Just remove the data-cycle-timeout="0" and it will work - JSFiddle

data-cycle-timeout="xy" - The time between slide transitions in milliseconds - reference


Need Your Help

Mysql results in PHP - arrays or objects?

php mysql arrays object

Been using PHP/MySQL for a little while now, and I'm wondering if there are any specific advantages (performance or otherwise) to using mysql_fetch_object() vs mysql_fetch_assoc() / mysql_fetch_arr...

Extending the Python interactive shell

python shell interactive readline interactive-shell

I'd like to extend the Python interactive shell to allow execution of non-python specific statements or commands. The idea being, if you type something on the prompt that would raise a NameError wh...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.