[AnimatedPageTransition] Send a variable when you click on a link <h2>

[AnimatedPageTransition] Send a variable when you click on a link <h2>

  
Forge Component
(1)
Published on 2015-07-31 by Viegas
1 vote
Published on 2015-07-31 by Viegas
Hi Viegas,

Do you now how can i send a variable on each one of the specific link?

"<h2>" + MainTitle + "</h2><span>" + SubTitle + "</span>"

You probably want to break that down into 3 different expressions:

"<h2>" + Option1 + "</h2>"
"<h2>" + Option2 + "</h2>"
"<h2>" + Option3 + "</h2>"



Each link will bring the user in the same page but the information showed has to consider a specific variable that has an ID that will filter the content.

Now I can create the link, I can edit the text, but how can I had a variable?

For Example Option1 will bring the user into the page products and I need to let that page know that It has to show that product1.

Thanks for the help!

Simone
Hi Viegas,

I was also thinking if is possible to click in the link and scroll down in the page and at the same times swap the Menu Web Block. Honestly I can even place many "IF" on the page and when the user click on the link i will stay on the same page and the menu content will swap between the differents menus.

But on this case I would need the link to scroll down (that it seem to be already there but is not visible at the moment), the variable (to select the right menu) and a way to send a refresh of the menu container to pick up the right one.

Do you think that is feasible?

Thanks

Simone