1/* 2 * jQuery Sticky Layer Plugin for WYSIWYG Web Builder 11 3 * Copyright Pablo Software solutions 2016 4 * http://www.wysiwygwebbuilder.com/ 5 */ 6(function(f){f.fn.stickylayer=function(e){return this.each(function(){f.stickylayer(this,e)})};f.stickylayer=function(e,b){var a={orientation:1,position:[0,0],delay:0,keepOriginalPos:!1};$obj=f(e);b&&(a=f.extend(a,b));a.top=$obj.offset().top;a.left=$obj.offset().left;if(0==a.delay&&5>a.orientation&&!a.keepOriginalPos)switch($obj.css("position","fixed"),a.orientation){case 1:$obj.css("left",a.position[0]);$obj.css("top",a.position[1]);break;case 2:$obj.css("left","auto");$obj.css("right",a.position[0]); $obj.css("top",a.position[1]);break;case 3:$obj.css("left","auto");$obj.css("top","auto");$obj.css("right",a.position[0]);$obj.css("bottom",a.position[1]);break;case 4:$obj.css("top","auto"),$obj.css("left",a.position[0]),$obj.css("bottom",a.position[1])}else{$obj.css("position","absolute");f.stickylayer.updatePosition($obj,a);var c="scroll."+$obj.attr("id")+" resize."+$obj.attr("id");a.id=$obj.attr("id");jQuery(window).bind(c,a,function(){$obj=f("#"+a.id);f.stickylayer.updatePosition($obj,a)})}}; f.stickylayer.updatePosition=function(e,b){0<b.delay&&e.stop();var a=jQuery(window),c=a.scrollLeft(),d=a.scrollTop();switch(b.orientation){case 1:c+=b.position[0];d+=b.position[1];break;case 2:c=c+a.width()-e.outerWidth()-b.position[0];d+=b.position[1];break;case 3:c=c+a.width()-e.outerWidth()-b.position[0];d=d+a.height()-e.outerHeight()-b.position[1];break;case 4:c+=b.position[0];d=d+a.height()-e.outerHeight()-b.position[1];break;case 5:c=c+(a.width()-e.outerWidth())/2+b.position[0];d+=b.position[1]; break;case 6:c=c+a.width()-e.outerWidth()-b.position[0];d=d+(a.height()-e.outerHeight())/2+b.position[1];break;case 7:c=c+(a.width()-e.outerWidth())/2+b.position[0];d=d+a.height()-e.outerHeight()-b.position[1];break;case 8:c+=b.position[0];d=d+(a.height()-e.outerHeight())/2+b.position[1];break;case 9:c=c+(a.width()-e.outerWidth())/2+b.position[0],d=d+(a.height()-e.outerHeight())/2+b.position[1]}b.keepOriginalPos&&b.left>c&&(c=b.left);b.keepOriginalPos&&b.top>d&&(d=b.top);0<b.delay?e.animate({left:c, top:d},b.delay):e.css({left:c+"px",top:d+"px"})}})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.