I’ve been trying to create a condition that would only appear if the page can be scrolled down but I can’t find a way to condition if the page is “full” enough that it scrolls down. Not even sure if its possible to do so.
I’m doing this to add a “scroll to top” link on my pages, but only if there is a need to scroll
If anybody can help me I would appreciate it.
To add a show the ‘scroll to top’ link only if the page has been scrolled using jQuery: