niqmk / prototype-carousel

Automatically exported from code.google.com/p/prototype-carousel
0 stars 0 forks source link

problem with stopping auto moving #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I need to stop auto moving on event (ex. onmouseover)

I tried this:

<PRE>
carusel = new Carousel('carousel-wrapper', $$('#carousel-content .slide'), 
$$('a.carousel-control', 'a.carousel-jumper'),{visibleSlides: 3, auto: true });

carusel.stop;
</PRE>
but it did not work.

How can I solve this problem?

Original issue reported on code.google.com by alex.pal...@gmail.com on 27 Aug 2010 at 8:21

GoogleCodeExporter commented 9 years ago
Hi,

It can be triggered from the following method:

  <a href="javascript:Carousel.stop();">Stop</a>
  <a href="javascript:Carousel.start();">Start</a>

Try that, and get back to me.

Original comment by dpostuk...@googlemail.com on 23 Sep 2010 at 8:53