If I set up an interaction with a target element having a specific class, will this impact ALL elements of that class on ALL pages a user opens in their browser or just those on the current page? For example, if clicking the trigger causes an element of class “abc” to go from display: none to display: flex, will this impact just elements with that class on the current page or will it impact other elements with class “abc” on subsequent pages opened by the user?
Just a general question; I don’t have a page ready to share for this. Any help would be appreciated. Thank you!
If you have elements using the class .abc on multiple pages the interaction will target all. That’s why using class targeting is so cool when you want to reuse your interaction.
The interaction needs to be class based, not element based.
Thanks for your reply, Piter… That makes sense to me and thanks for the link, but to clarify my question, will clicking a button ‘trigger’ on page 1 cause ALL elements having the target class .abc react on pages 2, 3, 4 and 5?