PageSourceSearch

https://alva-donna.ru/local/templates/tireos_hotel/js/captify.js

js alva-donna.ru collected 2026-10-07 16:12:52 UTC 2,301 bytes, 5 lines download raw bytes

1jQuery.fn.extend({captify:function(n){var a=$.extend({speedOver:"fast",speedOut:"normal",hideDelay:500,animation:"slide",prefix:"",opacity:"0.45",className:"caption-bottom",position:"bottom",spanWidth:"100%"},n);$(this).each(function(){var c=this;$(this).load(function(){if(c.hasInit)return!1;c.hasInit=!0;var g=!1,h=!1,d=$("#"+$(this).attr("rel")),k=d.length?d.html():$(this).attr("alt");d.remove();var f=(this.parent&&"a"==this.parent.tagName?this.parent:$(this)).wrap("<div></div>").parent().css({overflow:"hidden",
2padding:0,fontSize:0.1}).addClass("caption-wrapper").width($(this).width()).height($(this).height());$.map(["top","right","bottom","left"],function(a){f.css("margin-"+a,$(c).css("margin-"+a));$.map(["style","width","color"],function(b){b="border-"+a+"-"+b;f.css(b,$(c).css(b))})});$(c).css({border:"0 none"});var b=$("div:last",f.append("<div></div>")).addClass(a.className),e=$("div:last",f.append("<div></div>")).addClass(a.className).append(a.prefix).append(k);$("*",f).css({margin:0}).show();d=jQuery.browser.msie?
3"static":"relative";b.css({zIndex:1,position:d,opacity:"fade"==a.animation?0:a.opacity,width:a.spanWidth});"bottom"==a.position&&(k=parseInt(b.css("border-top-width").replace("px",""))+parseInt(e.css("padding-top").replace("px",""))-1,e.css("paddingTop",k));e.css({position:d,zIndex:2,background:"none",border:"0 none",opacity:"fade"==a.animation?0:1,width:a.spanWidth});b.width(e.outerWidth());b.height(e.height());var d="bottom"==a.position&&jQuery.browser.msie?-4:0,l="top"==a.position?{hide:-$(c).height()-
4b.outerHeight()-1,show:-$(c).height()}:{hide:0,show:-b.outerHeight()+d};e.css("marginTop",-b.outerHeight());b.css("marginTop",l["fade"==a.animation||"always-on"==a.animation?"show":"hide"]);var m=function(){g||h||(b.animate("fade"==a.animation?{opacity:0}:{marginTop:l.hide},a.speedOut),"fade"==a.animation&&e.animate({opacity:0}
4,a.speedOver))};"always-on"!=a.animation&&($(this).hover(function(){h=!0;g||(b.animate("fade"==a.animation?{opacity:a.opacity}:{marginTop:l.show},a.speedOver),"fade"==a.animation&&
5e.animate({opacity:1},a.speedOver/2))},function(){h=!1;window.setTimeout(m,a.hideDelay)}),$("div",f).hover(function(){g=!0},function(){g=!1;window.setTimeout(m,a.hideDelay)}))});(this.complete||0<this.naturalWidth)&&$(c).trigger("load")})}});

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.