123456789101112131415161718192021222324252627282930 |
- // 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
- if ($('.content-fix').length) {
- 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();
- };
- })();
|