Scroll Mod
Downloads of Scroll Mod are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account | ||
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox
|
Scroll Mod | ||||
---|---|---|---|---|
Summary | Scrolls TNG pages. | |||
Validation | Latest mod is XHTML compliant. | |||
Mod Updated | 11 October 2023 | |||
Download link | for
Scroll Mod v12.3.0.3 | |||
Download stats | Downloads Stats | |||
Author(s) | Steven Davis | |||
Homepage | Scroll Mod (This page) | |||
Mod Support | TNG Community Forums | |||
Contact Developer | Steven Davis | |||
Latest Mod | 12.3.0.3 for TNG V12.3 and above | |||
Min TNG V | 12.3 | |||
Max TNG V | 14.0.3 | |||
Files modified | genlib.php, genstyle.css | |||
Related Mods | ||||
Notes |
Introduction
This mod was developed to scroll overflowing content.
Developer
Steven Davis
Advantages
Places four scroll buttons at the lower right side of the display.
Scroll to the top, up, down and bottom of the page.
Buttons do not appear unless content overflows.
Scrolls Ahnentafel and Register pages as well as charts that overflow vertically
Option to adjust the scroll distance when scrolling up and down. Compensate for a sticky header or fixed footer.
Code loads in the TNG footer so buttons appear on any TNG page showing the footer.
Buttons do not appear on mobile devices.
Hides the scroll to top button when scroll mod buttons are shown.
Includes a scroll-config.php file to hide buttons on pages listed in the array.
Includes examples in scrollpage-info.css file to customize the buttons using mytngstyle.css.
Appearance
When the mod is first installed, refresh the page to reload the style sheets.
Scroll buttons appear at the lower right but can be moved using css.
Requirements
- A working TNG installation.
- A backup of your TNG genlib.php and genstyle.css files.
- An installed current version of the Mod Manager
- Refresh the page to reload the CSS files after installation.
Automated Installation
- Download the zip file from the Mod Summary in the upper right hand corner
- After downloading the zip file, unzip the config file into the mods folder
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the scroll_mod_v12.3.0.3.cfg
- Refresh the browser to reload genstyle.css
Modmanager Edit options
- Adjust the vertical scroll distance in percent of the display height
- Hide buttons on the homepage
- Display buttons on specific pages specified in the scrollconfig.php file
In the event of a problem
- Try using the Mod Manager Remove capability.
- Or copy your original download version of genlib.php file to your TNG directory and genstyle.css to your TNG css directory.
- If the mod shows partial install select cleanup.
- If you edited the scrollconfig.php file and made a mistake, in the array, TNG will not load. Delete the config file, uninstall the mod and then reinstall.
- All should be well now
Revision History
Version | Date | Contents |
---|---|---|
v12.3.0.3 | 11 October 2023 | First released version |
Sites using this mod
If you download and install this mod, please add your TNG site to the table below
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
Family Histories | Steven Davis | Mod developer | 12.3.0.3 | 14.0.3 | EN | |
MOTYER Family Genealogy | John Mark Motyer | Public site | See here | See here | EN | |
Auf den Spuren meiner Ahnen | Michael Klein | Public/Private site | v12.3.0.3 |
|
EN, DE, NK, ES, FR |