Web UI component: j-Tour


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Tour (BETA)

  • Supports keyboard arrows
  • Supports tab key
  • Supports esc key

IMPORTANT: Put this component on bottom of body element

Configuration:

  • escape {Boolean} toggle possibility to hide Tour with esc key (default: true)
  • skiptext {String} a text of skip button (default: Skip)
  • nexttext {String} a text of next button (default: Next)
  • backtext {String} a text of back button (default: Back)
  • endtext {String} a text of end button (default: End)
  • datasource {String} path to data-source
  • bghide {Number} toggle possibility to hide Tour by clicking on background (default: false)
  • hide {String} path to method function(type) (type - 0: by PATH (e.g. null) 1: end button 2: skip button 3: esc key 4: click on bg)
// datasource
var example = [
    {
        target: '.test1',
        title: 'My title 1',
        text: 'Message 1'
    },
    {
        target: '.test2',
        title: 'My title 2',
        text: 'Message with offset',
        offsetY: 10
    }
];

PATH is actual tour page

Author