main.js 817 B

1
  1. $(document).ready(function(){var a=$("#optionsFloating"),b=a.offset().top,c=$("#downloadTarget").offset().top-$(window).height(),d=a.width();$(window).scroll(function(){$(window).scrollTop()>b-100&&$(window).scrollTop()<c?(a.addClass("fixed"),a.width(d)):a.removeClass("fixed")});$(".scrollToLink").on("click",function(){var a=$(this).attr("data-scroll"),a=$("#"+a).offset().top-10;$("html, body").animate({scrollTop:a+"px"})});$("#web_by").hover(function(){$("#jobotic").animate({right:"80px"},600,function(){$("#web_by label").css("display","block")})},function(){$("#web_by label").css("display","none").stop(!0,!0);$("#jobotic").animate({right:"1900px"},1800,function(){$("#jobotic").css("right","-100px").stop(!0,!0)})});$("#web_by").click(function(){window.location.href="http://www.steinlinconsulting.com"})});