/* global-animation.js =================== This file is included in inc-htmlbottom.php if animations are enabled. Please only place animations that are to be site wide in this file, otherwise please place Remember that animations are theme specific, meaning this file only effects the current theme that you are animating, and not every theme across the TemplateOTS platform. See detailed documentation here:- https://docs.google.com/document/d/1n5sWQ8SIr-zjOpTv8YnOTHJapO8WdedjDfbeo-lkqMM/edit#heading=h.lmxb59mpcpe2 */ /* Store in self invoking function so we don't clutter the global namespace. */ (function () { /* On Document Loaded ================== Called by Jquery event handler when the document is ready (When content has been loaded) */ $( document ).ready( function() { // Fade the webpage in fFadePageIn(); }); /* fFadePageIn() ============= Fades the page in, called on load */ function fFadePageIn() { // Fade the body in TweenMax.to( $("body"), 0.35, { opacity : 1, ease : Power2.easeIn } ); } }());