Be sure your league is setup properly before installing any scripts.Setup Video
The directory contains header and footer js files that are used in a custom template we created. DO NOT INSTALL these on your site unless your using the accompanying CSS files and have experience with javascript.
The global files transform a wide variety of the default MFL html to make the site more customizeable.
There are 2 different files in the directory: "header.js" and "footer.js". Each of these files are compressed and each file has a correlating "uncompressed" file where the javascript is not compressed and is readable to make alterations. In the CSS folder , you will find a light.css and dark.css , these 2 stylesheets MUST be used when using our global header and footer script. The CSS can be edited and each stylesheet comes in uncompressed format so you can make alteration and host yourself or load directly onto the MFL server.
In addition to the "css" folder contained in the directory, there is also a folder called "hpmContent" , here you can see all the content for every homepagemessage i use on my personal site. Also there is a image to shows how to setup your tabs.
The "footer.js" and "header.js" files are the base files which transform the HTML for the MFL layout. Using variables for the scripts you can load a variety of other scripts making load time quicker through a single file and having less HTTP requests.
Header JSPlace in header message
Footer JSPlace in footer message
The "header.js" file contains the following scripts that can be added to your site by enabling the variables:
When installing the "header.js" file you need to also place the variables for the above mentioned scripts in your footer message if you enable them to load. Do NOT include any links for the other scripts as they are already within the "header.js" file.
The "footer.js" file contains the following scripts that can be added to your site by enabling the variables:
When installing the "footer.js" file you need to also place the variables for the above mentioned scripts in your footer message if you enable them to load. Do NOT include any links for the other scripts as they are already within the "footer.js" file.