I need to create a click () function for 8 links that are in pagina X
, each link will take me to a specific slide in a pagina Y
.
The slide is active when it is with Class selected
, so my idea is as follows:
The user clicks on link 1 on page X is taken to page Y with slide 1 active.
The user clicks on link 2 on page X is taken to page Y with slide 2 active.
And so it goes ...
So summarizing, how do I make this addCLass () work after loading the Y page.
If it has not been very clear I edit.
Thank you.