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

What is Framer? Join the Community
Return to index
Antonio A. Asevedo
Posted Mar 09 - Read on Facebook

pages = 3
for j in [0..pages]

The above makes the content display on all pages, but how can you tell it to only display on a specific page?


Nate Moore

If this is in reference to this, which I had previously posted: (which I believe it is)...
This particular piece of code just sets up a for loop to do something 4 times (from 0 to 3). I was just using it to quickly set up four pages for the demo.

If I'm guessing correctly, you want to specify content for a specific "page", so you can just do arrayName[0] = new Layer and then when you want to specify the content on the next "page" specify arrayName[1] = new Layer and so on.

Read the entire post on Facebook