Created
September 1, 2012 05:13
-
-
Save carldanley/3564341 to your computer and use it in GitHub Desktop.
tour.js Beta Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myTour = tours.createTour( 'my-awesome-tour' ); | |
//feature the menu now | |
myTour.disableScrolling() | |
.createBackground( '#000', 0.00 ) | |
.fadeBackground( 0.4, 500 ) | |
.scrollTo( 'body', 1000 ) | |
.wait( 500 ) | |
.showCursor( ) | |
.trackProgress( true ) | |
.beginStep( 'Title of Step Goes Here' ) | |
.focus( 'some css selector here' ) | |
.moveCursorTo( 'any css selector here', 1000, 42, 10 ) | |
.showMessage( '.tour-cursor', 'This is a sample message' ) | |
.wait( 3000 ) | |
.closeMessages() | |
.clearFocus() | |
.endStep() | |
.hideCursor() | |
.trackProgress( false ) | |
.fadeBackground( 0.00, 1000 ) | |
.removeBackground() | |
.enableScrolling(); | |
tours.ready( function(){ | |
myTour.startTour(); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment