/thunderTour

Simple vanilla JS tour library

Primary LanguageJavaScript

thunderTour

Demo: https://aleksandar-b.github.io/thunderTour.github.io/

Example:

Tour(
   {
   steps:[{
            selector:'.myClass1',
            content:'This is sample content for popup 1',
            side:'bottom'
          },
          {
            selector:'.myClass2',
            content:'This is sample content for popup 2',
            side:'top'
          },
          {
            selector:'.myClass3',
            content:'This is sample content for popup 3',
            side:'right'
          },
          {
            selector:'.myClass4',
            content:'This is sample content for popup 4',
            side:'right'
          }
         ]
   }
     );

Optional parameters: offsetMargin - default is 30