Kate Animation Design Assistant

ABOUT

unsorted uploads

MADEIT CREDITS

  • * KateAnimation Design Assistant

Portfolio

'; jQuery.fancybox({ content: content, padding: 0, overlayOpacity: 0.85, overlayColor: '#000', titleShow: false, changeSpeed: 0, autoScale: true, autoDimensions: true, centerOnScroll: true }); return false; }); cp10.setup_comments('PROJECT', 53558); window.scrl = {}; window.scrl.el = $('#p-side-btm'); window.scrl.fixed = $('.p-detail-aside .fixer'); window.scrl.h = $(window).height(); window.scrl.firedAt = false; window.scrl.detectOffset = $('.profile-page').length > 0 ? 165 : 105; $(window).resize(function(){ window.scrl.h = $(window).height(); }); var onscroll = function(e){ if(( window.scrl.h - window.scrl.detectOffset ) > window.scrl.fixed.height()){ return $(window.scrl.fixed).css({ 'position': 'fixed', 'top': 'inherit' }); } var scrollTop = $('.showing_project').length > 0 ? $('.profile-detail-wrapper').scrollTop() : $(window).scrollTop(); if(window.scrl.firedAt && scrollTop < window.scrl.firedAt){ // we can revert to original style $(window.scrl.fixed).css({ 'position': 'absolute', 'top': 0 }); window.scrl.firedAt = false; return true; } if(window.scrl.el.visible(true)) { if (!window.scrl.firedAt) { // this is first time we initiate fixed position window.scrl.firedAt = scrollTop; } $(window.scrl.fixed).css({ 'position': 'fixed', 'top': (-1) * (window.scrl.fixed.height() - window.scrl.h + 100 ) }); } }; cp10.handle_back_button(); $(window).off('scroll', onscroll).on('scroll', onscroll).scroll(); });