MooTools Question:

Download Job Interview Questions and Answers PDF

How to make the gallery go to a specific image using MooTools?

MooTools Interview Question
MooTools Interview Question

Answer:

Just use the goTo function. But remember that its argument is an integer starting from 0 and not 1. For example, to make it skip to the fifth image, use this code:
myGallery.goTo(4);

Download MooTools Interview Questions And Answers PDF

Previous QuestionNext Question
How to call the gallery from outside in MooTools?How to make the gallery go to the next or previous image using MooTools?