Scroll To Top Download 7.1

German Michael Zülsdorff 3 weeks ago

Scroll To Top

Another example component (similar to Eighteen Male) which is making use of the ossn_extend_view function.
This time, the footer plugin gets extended with some extra code in order to display a red Up arrow bottom right whenever the top part of the page has been scrolled out of view. When clicked the page will scroll back to top.

enter image description here

us John Robertson Replied 2 weeks ago

Cool Thanks

German Michael Zülsdorff Replied 3 weeks ago

I don't think that I'll go to 'fix' something here.
My idea was just having this feature on every page that might scroll, using a minimum of code. Because sites may have other lengthy pages, like terms or privacy statements, etc.

Of course, individual requirements do vary. Thus, it's up to you to enclose the scrollback feature in a condition for example:

if (ossn_isLoggedin()) {
ossn_extend_view('theme/page/elements/footer', 'ScrollToTop/ScrollButton');

in order to make it available only inside of your site. Or to implement the feature on dedicated pages only. Or, to simply use any of your ready-made widgets.

us Anna Ayva Replied 3 weeks ago

Oh. I accidentally noticed that it also appears on the Home page before registration. I think this will be fixed in future updates.
Thanks again Michael, You are very kind!

us Anna Ayva Replied 3 weeks ago

WOW. )) Thank you Michael for this beautiful component. Despite the fact that I have already found ready-made widgets on the Internet, but I think it is more correct to use the OSSN component created by an OSSN specialist.


Developer: Michael
License GPL v2
Type: Uncategorized
Requires Ossn Version : 7.2
Latest Version: 7.1
Last Updated 3 weeks ago
Repository Url View Repository