SIDEBAR
Here the Javascript code available to be inserted in your web page to implement a sidebar.Please check the context of implementation for each of the functions.
Example:
See the tip coming out from the left side of the screen.Code:
/** * SQJS.createSidebar * * Create the tag DIV of sidebar * * Context: * - Call it in the body of your webpage * * @param {string} sidebarURL, the URI of the of the sidebar * @param {string} contentContId, the container of the body content * @param {string} width, the width of the sidebar * @param {string} height, the height of the sidebar * @returns {void} * * This function is part of SqueeJS. */ function SQJS.createSidebar(sidebarURL, contentContId, width, height){};
Usage example:
<script> var myNewSidebar = SQJS.createSidebar("/mysidebar.html", "content", 300, window.innerHeight); </script>