This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jiaxin Chen
Posted Apr 13 - Read on Facebook

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.

Thanks~

2 Comments

Jiaxin Chen

Please watch it in HD~

Sigurd Tapio Mannsåker

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.

Read the entire post on Facebook