usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.8k stars 2.59k forks source link

Ignore hidden elements #431

Closed DanielHoffmann closed 3 years ago

DanielHoffmann commented 9 years ago

Hello, if I have some hidden elements in my page that I don't want introJs to step through them, unless they are visible. I think an option to do that is required as any workaround would be quite ugly, like removing the data attributes from the tags when hiding the elements and re-adding them once they are visible.

renanleandrof commented 6 years ago

+1 to this feature.

gigadigito commented 6 years ago

+1 para este recurso.

decadehew commented 6 years ago

+1

anitr commented 5 years ago

I was using version v2.7.0, with option: jQuerySelector. So, I was able to add something like:

intro.setOptions({ jQuerySelector: true, steps: [ { element: '.presentation-element:visible', ...

So, I could add jQuery selector :visible that worked.

But now, I upgraded to version 2.9.3 and there is no more jQuerySelector option!!

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tjhunkin commented 3 years ago

+1