New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for custom starting point #45
Conversation
This pull request is really nice but I think it needs a little changes. Let me know what you think. |
Well, maybe in addition to the I'm using this option to start introjs at a given step using small |
Ok ok, (you know that) we have chainable structure in introJs so you're able to do something like:
And I think it's better to do |
I did not think of that @afshinm, good point. I very much like your proposed setup! |
Thanks to you @Starefossen. |
Doesn't the start() function display the first step though? If we called start() then gotostep(2) wouldn't that display the first step and then quickly switch to step 2? |
@dfjones1981 Yeah, correct. I know it's not a proper behavior. I think it's better to have a paramater for
So it starts the introduction from the given step. |
Sounds good. Also, as long as the start() method is called last you could still make use of the method chaining pattern, for example:
|
@dfjones1981 Yeah yeah 👍 |
I think it can be added a plugin like using jquery.cookies. what do you think? |
@saiful Another discussion? It's better to have discussions in the project Google Group. |
@Starefossen And also this pull request, I think it's really a good feature to be added for v0.3.0 of IntroJs |
Manually added, thanks @Starefossen :) |
This fork adds support for custom starting point.