1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | $(document).ready( function () { $( "#btnStart" ).click( function () { introJs().setOptions({ nextLabel: '下一步 →' , prevLabel: '← 上一步' , skipLabel: '跳过' , doneLabel: "完成" , exitOnOverlayClick: false , exitOnEsc: false , showBullets: false }).start(); }); }); /* Options: steps: For defining steps using JSON configuration (see this example) nextLabel: Next button label prevLabel: Previous button label skipLabel: Skip button label doneLabel: Done button label tooltipPosition: Default tooltip position tooltipClass: Adding CSS class to all tooltips exitOnEsc: Exit introduction when pressing Escape button, true or false exitOnOverlayClick: Exit introduction when clicking on overlay layer, true or false showStepNumbers: Show steps number in the red circle or not, true or false keyboardNavigation: Navigating with keyboard or not, true or false showButtons: Show introduction navigation buttons or not, true or false showBullets: Show introduction bullets or not, true or false scrollToElement: Auto scroll to highlighted element if it's outside of viewport, true or false overlayOpacity: Adjust the overlay opacity, Number */ |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com