Yes, you can set up a Webflow landing page with buttons that, when clicked, open a different page with a specific tab already open. You don't need to write code for this as Webflow provides a built-in way to achieve it using interactions.
Here's how you can accomplish this:
1. Create your landing page in Webflow, and add buttons to it. You can style them however you like to match your design.
2. Create a new page that will be opened when the button is clicked. You can do this by duplicating an existing page or creating a new one from scratch.
3. Once you have your new page ready, add tabs to it. You can use the Webflow Tabs component or custom code if you prefer.
4. Go back to your landing page, select the button you want to use, and open the Interactions panel. You can access it by selecting the button and clicking on the plus icon in the interactions section of the styles panel or by pressing "I" on your keyboard.
5. In the interactions panel, create a new interaction for the button click. You can select the "Click" trigger and choose what happens on the click event.
6. Add an action to the interaction. Choose the "Open Link" action and paste the URL of the page you created in step 2.
7. Now comes the trick to open a specific tab on the new page. Append the URL of the tab you want to open to the URL of the page. For example, if the URL of the page is "https://www.example.com/my-new-page" and the ID of the tab you want to open is "tab-two", the final URL you should use in the open link action would be "https://www.example.com/my-new-page#tab-two". This will make the new page open with the specified tab already active.
8. Customize any other parameters of the open link action, such as specifying whether the link should open in a new tab or the same tab, and any additional animation or transition effects you want to apply.
9. Preview your site or publish it, and your buttons should now open the desired page with the specific tab already open when clicked.
By using Webflow's interactions and simple URL manipulation, you can achieve this functionality without the need to write custom code.