I'm wondering if someone can tell me if I'm doing the right thing: 1 have one page with multiple layers and I want to show a layer when a button is clicked but then the other layers should be hidden. Now I do this with the show/hide methods on the click event. But this means that if I have 8 layers then every button will have 8 hide actions and 1 show... I'm wondering if this can be done in a more efficient way?
I tend to remember that there were a lot of templates on this site available with a lot of good ideas incorporated in it... One of the template was one with only 1 page and on it multiple layers driven by buttons... are these templates still available?