// Bootstrap Tooltip $(function () { $('[data-toggle="tooltip"]').tooltip(); }) //jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { $('a.page-scroll').bind('click', function(event) { $('html, body').animate({scrollTop : 0},750); //var $anchor = $(this); //$('html, body').stop().animate({scrollTop: $($anchor.attr('href')).offset().top}, 1500, 'easeInOutExpo'); event.preventDefault(); }); }); var mstr = 0; var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_initializeRequest(prm_InitializeRequest); prm.add_endRequest(prm_EndRequest); function prm_InitializeRequest(sender, args) { mstr = 1; setTimeout(function() { if (mstr == 1) { $('#load').css('display', 'table'); } }, 750); } function prm_EndRequest(sender, args) { mstr = 0; $('#load').hide(); // var isInIframe = (window.location != window.parent.location) ? true : false; // if (isInIframe) { // if (document.getElementById("cphCuerpo_divPowered")){ // document.getElementById("cphCuerpo_divPowered").style.display = "block"; // } // if (window.pymChild){ // pymChild.sendHeight(); // } // } }