Hi Framers, get stuck in this for loop:
How can I get corresponding tag in this case? No matter what tag I click, it just return the last tag (tagE).
What I really want is when I click tagA then tagA's opacity = 1, and so on.
Please watch it in HD~
Quite a common problem, fortunately easily solved: use layer instead of tag in your onclick function, so 'layer.opacity = 1'. You could probably also use event.target, not sure.