MooTools Question: Download MooTools 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();
The functions to make it go to the next or previous images are respectively:
myGallery.nextItem();
myGallery.prevItem();
Previous Question | Next Question |
How to make the gallery go to a specific image using MooTools? | How to use the gallery with data from flickr in MooTools? |