0
I need to create a click() function for 8 links that are in one pagina X
, each link will take me to a specific slide in a pagina Y
.
Slide is active when it is with Class selected
, then my idea is this:
The user clicks on the link 1 on page X is taken to page Y with the slide 1 active.
The user clicks on the link 2 on page X is taken to page Y with the slide 2 active.
And so on and so forth ...
So in short, how do I get this addCLass() to work after loading the Y page.
In case it’s not too clear I edit.
Thank you.
You want to save which item will receive the new class?
– Laerte
I want to click on link 1 and it adds a class on Slide 1 and so on ... @Laerte
– user27585
So both are on different pages, link 1 page X and slide 1 page Y ... @Laerte
– user27585
Ué, passes by parameter in the URL, the choice. paginY? slide=1, paginY? slide=2
– mau humor
If different pages have to be by url or with Submit.
– Tiago Gomes