WORK IN PROGRESS

Here the Javascript code available to be inserted in your web page to implement a work in progress banner.

Please check the context of implementation for each of the functions.



Banner:



Code:

/**
 * SQJS.initAppWithWIP
 * 
 * Init the web app to start with the work in progress banner
 * 
 * Context:
 * - Call this function in the load event (ie. by a window.AddEventListener) of the webpage 
 * 
 * @param {string} mainContainerId, the container ID for the webpage content
 * @param {string} BG, the background for the wip banner
 * @returns {void}
 * 
 * This function is part of SqueeJS.
 */
function SQJS.initAppWithWIP(mainContainerId, BG){};

/**
 * SQJS.initAppWithoutWIP
 * 
 * Init the web app to start withOUT the WIP banner
 * 
 * Context:
 * - Call this function in the load event (ie. by a window.AddEventListener) of the webpage 
 * 
 * @param {string} mainContainerId, the container ID for the webpage content
 * @returns {void}
 * 
 * This function is part of SqueeJS.
 */
function SQJS.initAppWithoutWIP(mainContainerId){};



Usage example:


    <script>
    window.addEventListener("load", function() {

       SQJS.initAppWithWIP("content", "#FFFFFF");

    }, true);
    </script>