Answers

Question and Answer:

  Home  MooTools

⟩ How to make the gallery go to the next or previous image using MooTools?

Sometime you might want to remove the built in buttons to make buttons outside the gallery. Doing that is very simple: Just make your buttons call the appropriate functions.

The functions to make it go to the next or previous images are respectively:

myGallery.nextItem();

myGallery.prevItem();

 226 views

More Questions for you: