I just created a button for you. you can of course go ahead and edit the way you like it.
fix to the browser bottom,
and I gave the link to the icon (not to the group),
and you’ll see how I set the opacity.
you don’t need to use anchor, just set it as the page top. I would say just show it on all pages to make it easier but instead copy and paste it to every page but then change the page from dropdown according to what page it is on while keeping the “page top” option. Leaving the wetransfer link down below. hope it helps.
Nice. Thank you.
I will try it out with different settings.
Mr. F.
It’s not exactly what i want to achieve.
The effect can bee seen here: https://www.n-tv.de
When you scroll down, nothing will appear. But as soon as you scroll back to the top, the button fades in.
Could that be done with sparkle?
You can do it with a javascript command. If you’re not familiar with coding, it will be very complicated. I would suggest you to stick Sparkle’s built in JS engines for now. maybe in the future, if “based on scroll direction” feature comes up, it’d be possible. Otherwise I haven’t come across any option like that.
@Mr_Fozzie, from my understanding and what I have seen on the website you exampled, Sparkle can’t do that action. But I must add it is a very strange action…
It seems far more logical that either the “back to top” button is already visible on the bottom of the web page, or as you scroll towards the bottom a “back to top” button appears. In both cases it is alerting the User about the action as they come to the bottom of the web page.
Starting your scrolling back up, because there is no visible action of a “back to top” button, most would not be looking for an action that wasn’t there, so for me this action exampled defeats the purpose.