REPOST: Scroll on Top plugin 1.5 elgg+

Warning: This plugin has't been updated in over 54 years. It may no longer be maintained.

What you can do to help:

Adds a small button on the bottom right of the page to scroll back to the top with js

by bman
Last updated

Version: 1.0

Author: Matthias Sutter

Copyright: (C) CubeYoo.de

Licence: GNU Public License version 2

URL: http://cubeyoo.de/

This person deleted the plugin from the community site, and as this is GPL the code should remain available.

Works fine for me 1.5, 1.6, and 1.7 without changes so I am pretty sure this is exactly how it was when I downloaded it.

FROM ORIGINAL NOTES:

This Plugin work with the Javascript Code from => Dynamic Drive

 

Install:

Upload to /mod Folder

enable in admin tools

 

Button (image) change:

Go to => Your_ELGG/mod/scroll_on_top/views/default/scroll_on_top/js and open scrolltopcontrol.js...

 

on line 11 you find the path to the image:

 

    controlHTML: '<img src="../../mod/scroll_on_top/graphics/arrowgray1.png" style="width:59px; height:45px" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"

 

Tip:

If you have a non standard elgg installation, you can overwrite "../../mod/..." with the absolut path of your ELGG Site!

Hope you can use it, have Fun ...

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 1970-1-1
  • Downloads: 668
  • Recommendations: 1

Other Projects

View bman's plugins