')[0].src = this; }); } preload([ '/images/opt/partner-princess-grace-color.png', '/images/opt/partner-penetron-color.png', '/images/opt/partner-ge-color.png', '/images/opt/partner-iv-doc-color.png', '/images/opt/partner-mcafee-color.png', '/images/opt/partner-ny-theater-ballet-color.png', '/images/opt/partner-ny-theatre-workshop-color.png', '/images/opt/partner-jordan-matter-color.png', '/images/opt/partner-ny-flute-club-color.png', '/images/opt/partner-ballet-hispanico-color.png', '/images/opt/partner-ibrooklyn-color.png', ]); $(".down_arrow a").mouseenter(function() { $(this).find(".section_title").fadeIn(600).css("display","block").delay(800).fadeOut(600); }); var window_height = $(window).height(); var window_width = $(window).width(); var header_height = 99; var home_header_height = 0; if (window_width <= 1270 && window_width > 700) { header_height = 153; } if (window_width > 700) { $("#home_features_container").css("height",(window_height)); $("#operations").css("height",(window_height-header_height)); $("#marketing").css("height",(window_height-header_height)); $("#our_work").css("height",(window_height-header_height)); $("#our_services").css("height",(window_height-header_height)); $("#our_cms").css("height",(window_height-header_height)); if (window_width > 1280) { $("#our_cms .white_bg").css("height",(window_height-header_height-100)); } else { $("#our_cms .white_bg").css("height",(window_height-header_height)); } } if (window_width > 700 && window_width <= 1285 && window_height <= 800) { $("#our_services .inner img").css("margin-bottom","20px"); $("#our_services .light_orange_bg").css("padding-top","20px"); $("#our_services .light_orange_bg").css("margin-top","20px"); $("#our_services .light_orange_bg").css("padding-bottom","40px"); $("#our_services .light_orange_bg").css("top","0px"); $("#our_services .inner h2").css("margin-bottom","30px"); $("#our_services .inner ul li").css("margin-bottom","20px"); $("#our_services .aligncenter").css("bottom","-30px"); $("#our_cms .inner").css("padding","10px 0px 0px 0px"); $("#our_cms div#cmseditable_instance_sample").css("margin-bottom","20px"); $("#operations .inner").css("padding-top","9%"); } $(window).resize(function() { var window_height = $(window).height(); var window_width = $(window).width(); var header_height = 99; var home_header_height = 0; if (window_width <= 1270 && window_width > 700) { header_height = 153; } if (window_width > 700) { $("#home_features_container").css("height",(window_height)); $("#operations").css("height",(window_height-header_height)); $("#marketing").css("height",(window_height-header_height)); $("#our_work").css("height",(window_height-header_height)); $("#our_services").css("height",(window_height-header_height)); $("#our_cms").css("height",(window_height-header_height)); if (window_width > 1280) { $("#our_cms .white_bg").css("height",(window_height-header_height-100)); } else { $("#our_cms .white_bg").css("height",(window_height-header_height)); } } if (window_width > 700 && window_width <= 1280 && window_height <= 800) { $("#our_services .inner img").css("margin-bottom","20px"); $("#our_services .light_orange_bg").css("padding-top","20px"); $("#our_services .light_orange_bg").css("margin-top","20px"); $("#our_services .light_orange_bg").css("padding-bottom","40px"); $("#our_services .light_orange_bg").css("top","0px"); $("#our_services .inner h2").css("margin-bottom","30px"); $("#our_services .inner ul li").css("margin-bottom","20px"); $("#our_services .aligncenter").css("bottom","-30px"); $("#our_cms .inner").css("padding","10px 0px 0px 0px"); $("#our_cms div#cmseditable_instance_sample").css("margin-bottom","20px"); $("#operations .inner").attr("style","padding-top:9%"); } }); });