Custom Tabs

Be sure your league is setup properly before installing any scripts.Setup Video
The Custom Tabs scripts manipulates the MFL HomepageTabs so they can be placed on all pages , you can change the name of the "Main" tab , you can add custom tabs that are links and not actual tabs. You can also create multiple sets of tabs to display within your homepage layout. Here is a tab generator you can use to get started Tabs Generator. Tab groups created with the generator are placed in a separate homepage message and then added to different areas of your homepage layout. Each group must have a unique identifer , which is explained on the generator page.
The "script.js" file has an uncompressed version that can be edited and hosted on your own server.
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.

Custom TabsPlace in header message

<!-- CUSTOM TAB SCRIPT SETTINGS -->
<script>
var showTabsAllPages = true; 	// set to false to only show tabs on homepage
var changeMainTabName = "Home"; // rename to main tab - leave text blank between "" if you dont want to change MAIN tab name
var swipeHPM = true; 		// set to true to swipe home page tab content on mobiles
var swipePosition = "content"; 	// swipe on tabs or swipe on content - set to "tabs" to swipe on tabs or set on "content" to swipe on content

// DEFINE FAKE TABS THAT ARE ACTUAL LINKS TO NEW PAGES
const MFL_customTabs_FakeTabs = [];

// EXAMPLES TO ADD LINK TO TAB GROUP - IF YOU DO NOT WANT TO ADD THIS LINKS THEN DELETE
MFL_customTabs_FakeTabs["Scoreboard"] = {
	"href": "//%HOST%/%YEAR%/home/%LEAGUEID%?MODULE=MESSAGE19",
	"target": "_top"
};
MFL_customTabs_FakeTabs["Rosters & Trades"] = {
	"href": "//%HOST%/%YEAR%/home/%LEAGUEID%?MODULE=MESSAGE17",
	"target": "_top"
};
</script>

<!-- CUSTOM TAB SCRIPT JS FILE -->
<script src="https://www.mflscripts.com/mfl-apps/tabs/script.js"></script>