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

What is Framer? Join the Community
Return to index
Elliot Pessah
Posted Oct 23 - Read on Facebook

Hi all I been working on this interactive wireframe and I am having a problem with my horizontal scrolling / click event

page.onClick ->
page.snapToPage(this)

the line of code I thought would work but is not working :(

side not if anyone has the solution for an arrow that could be clicked to move the carousel left to right that would be awesome also lol

3 Comments

Krijn Rijshouwer

Hey Elliot!

Ah, I see what's going wrong here. You should add the click event binding in the for loop. Now it doesn't know what the page variable is you're targeting because it isn't scoped (doesn't exist) outside of that for loop. → http://share.framerjs.com/d3rk7bd7jazb/

Elliot Pessah

Thank you! I'll check it out later tonight ! And let you know if I fixed it !!

Elliot Pessah

i got it working for the last row but i cant figure out how to get it to work with the other ones :( i might just have to pull them out of the loop http://share.framerjs.com/e30532857662/

Read the entire post on Facebook