Problem linking to the first tab of nested tabs


I have a set of tabs nested within another set of tabs. I want the user to always be taken to the first nested tab when clicking on any of the parent tabs.

Using the code from this post: Linking to Specific Tab from another Link or Button

I have no problem creating a link which opens the 1st parent tab as well as the 1st child tab. But when I try to create a link to open the 1st child tab from any of the parent tabs, the code just doesn’t seem to work.

I’ve checked and checked and I’m sure I have all the class names correct. But nothing seems to be working :pensive:.

Would anyone be able to help??

Here’s a demonstration I put together: