Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Creating clickable links for Microsite Tabs

jyo_varne
Tera Contributor

Hi,

 

Is there a way I can create Links to the Tab within the Microsite? I noticed that the browser URL remains the same irrespective of which Tab I am on while been on the microsite via EC Pro.

 

Lets say  I have multiple tabs as seen in the picture below 

I have a paragraph/text in Tab 1 - with a "Find out more" button that would need to navigate  to Tab 2 page. Is this possible?

jyo_varne_0-1741088928420.png

 

#microsite #tab #html #link

2 REPLIES 2

Twinkle S
Mega Sage
Mega Sage

Hi,

If I understand your query clearly, you are trying to navigate to different URL with click of a button which appears on Tab 1. 

You can edit the button to add the onClick() in html  which will redirect to the URL you want it to go. 

HTML:

<button onClick()="redirect()"> Find Out More</button>

Client Script:

function redirect(){

url="paste your url"

windows.location.href=url;

}

If you feel this was helpful, please consider giving thumbs up and if it solved your issue, please mark this correct.
Thanks

Hi Twinkle - thank for reverting. Unfortunately im trying to create an anchor link , wherein if the User clicks on "Find out more" Button it should take them to the People Data Over tab (within the microsite- which does not have a URL). 

Is there a way this can be done?