tab 2 - this is the id of the tab link tab-2-open - this is the id of a regular link that performs the function of opening a tab link through javascript
now clicking on a regular link (linkblock) you perform the function of opening a tab. Because by clicking on a regular link, javascript performs the action of clicking on the tab link. You simply hide the main tab link through display: none and the problem is solved. And then just on a regular link do anchor
I had the same issue and found a simple solution in the forums here and consolidated the code into a quick tutorial. You don’t have to make any edits to the code or tabs and it’s super flexible.