Link button to navigate to specific tab on a separate page

I have created a dynamic panel with 5 tabs on page 2, and i added a button on page 1 that i’d like to navigate to the 3rd tab on page 2. How do i create an OnClick case that opens a specific tab (not the default 1st tab) on another page? Thanks.

You can do this with a global variable, then use an on-load function on the second page to check the variable and set the state to the third tab if it is present.