Standing Settings

Be sure your league is setup properly before installing any scripts.Setup Video
The Standing Setting script places a settings cog wheel in the caption of your Standings report. Each user can show or hide whichever columns in the standings tables they want to see. So a commissioner can load up as many columns as they want and allow the users to decide what they want displayed. Settings are stored in the browsers local storage for each logged in user based on the leagueID and userID
This script must be installed in a homepagemessage marked at "footer".
The directory contains an "uncompressed" version of this script to allow for editing and self hosting. The script REQUIRES the use of font awesome , like many of our scripts. If you already have font awesome loaded then no need to add again. See below for instructions
All scripts require cache.js and font awesome file to be placed in a header message as the 1st line. Please review the section "Custom Scripts" Here
This script is already included in our custom template. Do not install it again. Custom template users do not need to load cache.js or font awesome.

Standing SettingsPlace in footer message

<!-- STANDINGS SETTINGS JS FILE -->
<script src="https://www.mflscripts.com/mfl-apps/standingSettings/script.js"></script>

<!-- STANDINGS SETTINGS CSS -->
<style>
/* SETTING POPUP BOX */
#standings-settings {
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	padding: 10px!important;
	background: #fff; /* use black or another color to match your sites background */
}
/* POPUP OVERLAY BACKGROUND */
.standings-settings_overlay {
	background-color: #000;
	opacity: .7
}
/* COLOR OF AN UNCHECKED CHECKBOX */
#standings-settings input+label:before {
	color: red
}
/* COLOR OF AN CHECKED CHECKBOX */
#standings-settings input:checked+label:before {
	color: green
}
/* COLOR OF LOCK DISPLAYED FOR LOCKED FRANCHISE COLUMNS */
#standings-settings #fname_checkbox:checked+label:before,
#standings-settings #fname_checkbox+label:before,
#standings-settings #ficon_checkbox:checked+label:before,
#standings-settings #ficon_checkbox+label:before,
#standings-settings #ficonname_checkbox:checked+label:before,
#standings-settings #ficonname_checkbox+label:before {
	color: red
}
</style>