MooTools Question:
Download Questions PDF

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

Answer:

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();

Download MooTools Interview Questions And Answers PDF

Previous QuestionNext Question
How to make the gallery go to a specific image using MooTools?How to use the gallery with data from flickr in MooTools?