winresize.js
621 Bytes
// window smart resize
function on_resize(c,t){onresize=function(){clearTimeout(t);t=setTimeout(c,100)};return c};
on_resize(function() {
// fixed left/right hand side column padding bottom and width
contentFixPushCal();
// footer push
footerPush();
// header height
headerHeightCal();
// header nav positioning
if ($('.header-nav-scroll').length) {
headerNavPos();
};
// tab switch
$('.tab-nav').each(function() {
tabSwitch($('.nav > li.active', $(this)), null);
});
// tile in view
if ($('.tile-wrap-animation:not(.isinview)').length) {
tileInView();
};
})();