Method button | iGuider Product Tour

This method inserts a button on the page to start the tour.

The button has a fixed position and is located by default in the lower right corner of the screen.

To change the position of the button, you need to specify an offset in the string format in the "button" Method The offset value corresponds to the css property "inset" and contains four values in the specified order: top, right, bottom, left (Ex.:'auto 40px 40px auto')


//Add Tour and default button with preset position
iGuider('button',opt);

//Add Tour and default button with offset position
iGuider('button',opt,'auto auto 40px 40px');
Element 1 Element 2 Element 3

Source