MooTools Question:

How to call the gallery from outside in MooTools?

Tweet Share WhatsApp

Answer:

First, when you create your gallery, you should store it in an object. In the Getting Started guide, we called this object myGallery so let's continue to use this name for our examples.
Just call the childs functions like this:
myGallery.myFunction(myArgs);

Download MooTools PDF Read All 16 MooTools Questions
Previous QuestionNext Question
Suppose I want to change the way I feed the slideshow. How can I change the elements and classes it is using?How to make the gallery go to a specific image using MooTools?