Install the mod:
	1 - Extract the ZIP file to a temp folder your local drive
	2 - Open the temp folder and upload the scroll_mod_v13.0.3.7.cfg file to the TNG mods folder. (This is a FILE NOT A FOLDER)
	3 - Open the temp folder and upload the scrollmod_v13.0.3.7 FOLDER, NOT THE ZIP file, to the TNG mods folder. (This is the complete folder not individual files)

The scroll mod folder should not contain any subfolders, only files. Using the admin console, go to the TNG folder on you website.
Confirm the scroll_mod_v13.0.3.7.cfg file and scrollmod_v13.0.3.7 folder are in the mods folder.
Log in to TNG and go to the admin page and select Mod Manager.
If the scroll mod cfg file is present the line will display "OK to install".
Note you will not see the scroll mod folder from the mod manager window but, if the folder is missing, "Cannot install" will be displayed.

Locate the line containing scroll mod and click "OK to install". When the line expands select INSTALL.

After scroll mod is installed, the scrollmod_v13.0.3.7.zip file can be stored on your local drive and the mod contents in the temp folder deleted.

After installing Scroll Mod, REFRESH (Windows Ctrl+F5 | Mac Cmd+R) the page to reload the style sheets (css files). Otherwise the buttons may be large and/or in the wrong position.

When pages have vertical overflow, two or four buttons appear depending on the page height that scroll vertically. 
On pages with horizontal overflow but no vertical overflow, two to four buttons appear that scroll horizontally.
If a page has vertical and horizontal overflow, four to eight buttons appear. 
The number of buttons shown depends on the amount of overflow. So when content requires more than one click, additional buttons appear to scroll the total height and/or width.
If the page has no overflow, buttons do not appear.

Scroll mod requires the scrollconfig.php file, located in the TNG root folder, to control which pages display buttons. You do not need to change or edit anything in this file to use Scroll Mod.
This file is provided for admins that prefer showing scroll buttons on certain pages and/or prevent scrolling other pages.
This is a "protected" file so it is not deleted when the mod is uninstalled. The file contains two different arrays:
$scroll_none array- Scroll buttons DO NOT appear on any files listed in this array. There are no options for using this array.
$scroll_select - Files listed in this array are scrolled if content overflows and mod option 3, listed below, is enabled.
If you add a file to both arrays, if will not display scroll buttons because the $scroll_none array has priority.

The arrays must be edited manually using a source code editor. DO NOT use a word processor or text editor that adds an EOL character. If an EOL character is present or you make a syntax error in the array, you will get a PHP error. If this occurs manually delete the scrollconfig.php file, from the TNG root folder, uninstall then reinstall the mod.
The scrollconfig.php file is a "protected" file so it is NOT deleted when the mod is uninstalled. Any changes made to the file are preserved when the mod is updated.


Mod options are as follows:

Option 1 - Scroll Vertical Distance
Enter the vertical scroll distance as a number between 10 and 100. Decimals can be to control the scroll distance more accurately. The number entered is converted to percent and multiplied by the units calculated from the clients display. This allows a consistent experience for different screen resolutions. Keep in mind if you enter 100 the page will scroll the screen height so content at either the bottom or top of the page will scroll out of view. If you enter a number smaller than 10 or greater than 100, the default setting of 90 is used.

Option 2 - Scroll Horizontal Distance
Enter the horizontal scroll distance  as a number between 10 and 100. Decimals can be to control the scroll distance more accurately. The number entered is converted to percent and multiplied by the units calculated from the clients display. This allows a consistent experience for different screen resolutions. Keep in mind if you enter 100 the page will scroll the screen width so content at either the right or left of the page will scroll out of view. If you enter a number smaller than 10 or greater than 100, the default setting of 90 is used.

Option 3 - Only Scroll Charts and Select Pages
Use this option to scroll files listed in the $scroll_select array. Files not in the array will not display scroll buttons. 

Option 4 - Hide Scroll Buttons on Home Page
Enable this option (1) to hide the scroll buttons on the home page.

If the active template has a scroll to top button, it will be hidden on pages that show scroll buttons. However, if scroll buttons are disabled on a page, the scroll to top button will appear.

If you want to customize colors, change the button size or move the buttons, refer to the scrollpage-info.css file in this folder for the classes and rules to add to the mytngstyle.css file.

Scroll buttons will not appear on mobile devices unless the device uses a non standard identifier.

Horizontal scroll buttons may not appear on templates 2, 4, 5, 6 and 7 unless the template mod is installed. Note in TNG v14.0.4, template 4 has been updated.

This version was updated so GWT templates do not have white space at the top of the page after the mod is installed.

When scrolling you can double click to scroll one page height or width and a partial scroll. The length of time between click determines how far the partial scroll moves the page. This is useful for scrolling large charts.

Scroll Mod relies on div styling to scroll pages horizontally. If you add a mod or page that has different style names scroll buttons may not scroll horizontally, depending on how the page is constructed.

To completely remove the mod, select uninstall. If the scroll mod folder remains, manually delete the folder. Go to the TNG root folder and manually delete the scrollconfig.php file.
