justinmind-logo
 
Upvote 1

Top button appears when scroll down

Known Steve Webster3 4 months ago

HI I'd like to create a 'Top' button that appears when a user scrolls down a page a set amount of pixels. Is there an expression that would work here? I have 'When [[ scroll y is greater than ?' not sure how to continue?

thanks

Replies (3)
photo
1

Hello, I am attaching an example where you can how to use the scroll constant.

Let me know if you need help with anything else.

Greetings.

photo
1

Thanks I was able to get it to disappear if scroll is less than 250. I am assuming the number is in pixels for Y?

photo
1

Hello, yes, they are pixels.

Greetings.

Leave a Comment
 
Attach a file