Cycle 2 does not work

Asked

Viewed 29 times

0

I already managed to make a Slyde with pagers, but I had to invoke Cycle function. I say this because on the official website says that you do not need any line of code, everything is done by dialing, but actually it was not so, now coming back to the subject, I will leave the code of the vertical Carousel:

<div id="t2"class="slideshow vertical" data-cycle-carousel-vertical=true 
data-cycle-carousel-visible=4>
    <img src="01.jpg" width="80" height="80">
    <img src="02.jpg" width="80" height="80">
    <img src="03.jpg" width="80" height="80">
    <img src="04.jpg" width="80" height="80">
    <img src="05.jpg" width="80" height="80">
    <img src="06.jpg" width="80" height="80">
    <img src="07.jpg" width="80" height="80">
    <img src="08.jpg" width="80" height="80">
</div>

$(function() 
{
    $('#t2').cycle();
});
  • You have not assigned the class that the documentation recommends to start the carousel automatically. The class indicated is cycle-slideshow. Behold the example given in automatic start marking

  • Okay, this default slide show works, even without adding Cycle-slideshow, but I added the class here and it didn’t change anything, it just stays on the default slide show. Carousel vertical that is good nothing.

  • In relation to the example given by Vertical Carousel in the documentation It lacks some attributes. Personally I would start by putting all, to start with an example like the one in the documentation and it works. Then you can remove and change the attribute until you see where it breaks and which attribute is making it stop working.

  • In the Sile documentation the slide that I need to assemble does not require this class that you talked about, and it is no use, I can do the way it is on the site that will not. Only the basic slide works.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.