So I have an already existing character sheet that uses a fairly complex set nested tabs to make it easy to navigate and use for players. What i'm trying to do is have a checkbox that is used to 'purchase' a discipline. Then if that checkbox is checked, it should show, on a diffrent tab, a div with a matching named class. The key difficulty is that the relative location may change as options are added / subtracted from the charactersheet, so I would like something flexible, that is always able to find the elements that should be shown/hidden, without caring where they exist on the DOM. Is this a CSS unicorn, or can something like this be done?