← iGuider Demos /

# methods.set

This method declares a set of parameters for one or several tours in order to be able to run the tour by referring to this set by a unique identifier.
For each tour in the parameters must be specified parameter "tourID", otherwise the set will not be installed.
Sets are declared using an array.
To use the parameters set, use the "run" method.

    /* Declaring of parameters for one tour */
    iGuider('set',[
    		{tourID:'anyCustomName',...}
    	]
    );

    /* Declaring options for multiple tours */
    iGuider('set',[
    		{tourID:'one',...},
    		{tourID:'two',...},
    		...
    		{tourID:'anyCustomName',...}
    	]
    );

The name of the method "set" is optional.

    iGuider([
    		{tourID:'one',...},
    		{tourID:'two',...}
    	]
    );

Start One Start Two

Element 1 Element 2 Element 3

## Source