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
Is it possible to disable 'Skip' button? #194
Comments
I sort of accomplished this using css:
Pair that with disabling |
Making .introjs-skipbutton display: none; is wrong, because this also hides "Done' button. |
Aaahhh yes, didn't notice that 😌 |
Both skip and done buttons have same class of "introjs-button introjs-skipbutton". So just CSS can't come to our help. |
This is my way, temporary solution.
|
Tanks xuanlt ! |
+1, please fix this |
+1 hacked the plugin to disable skip button, but couldn't disable prevbutton on first step easily.. :/ Saludos, nevertheless thanks for the nice plugin! |
+1 |
will fix it guys, thanks. |
+1 |
+1 (7 months later) |
Having skip and done be indistinguishable from a CSS perspective makes Intro.js a lot less flexible. I'm styling the "Skip" button to be a small, unobtrusive, "x" icon. However, I want to leave the "Done" button styled similarly to the "Next" button. With the current implementation, this requires a funky workaround. Is @waynn's solution acceptable? If so, can he/she open a PR to be accepted into master? |
Looks like there's already a PR - @afshinm, can you please Merge this PR? |
fixes #194 by changing the CSS class for "Done" so it's not the same as ...
Just merged that PR. I will test it myself today and will include it for the next release. Sorry for this delay. |
Apparently it did create a bug. I made a fix here: #675 |
I will have a look @radumpopescu thanks. |
the introjs-disabled class is added to the 'previous' button on the first step, and the 'next' button on the last step. i really just wanted them hidden, so i added the below to my css. Poof! Done! .introjs-disabled { |
SOLUCIONADO CON CSS ANGULAR SIN ANGULAR |
+1 (a few years on) |
In certain situations, I want to make sure that the users complete the tour, so an option for disabling the 'Skip' button would be nice.
Can we do this in intro.js at the moment?
The text was updated successfully, but these errors were encountered: