PageSourceSearch

https://www.lapostahotel.it/wp-content/themes/lapostahotel/js/lightbox.min.js?ver=1.0.0

js lapostahotel.it collected 2026-10-10 01:44:03 UTC 1,722 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(){if(jQuery(".lightbox").length>0){new function(){this.list=new Array,this.counter=-1,this.modal=null,this.current=null;var t=this;this.prev=function(){var t=this.current-1;t<0&&(t=this.counter),this.modal.find(".modal-lightbox-image").replaceWith(this.list[t].getImage()),this.current=t},this.next=function(){var t=this.current+1;t>this.counter&&(t=0),this.modal.find(".modal-lightbox-image").replaceWith(this.list[t].getImage()),this.current=t},this.close=function(){this.modal.remove()},this.add=function(i){this.counter++;var e=this.counter,h=new function(t){this.element=t,this.url=t.data("url"),this.width=t.data("width"),this.height=t.data("height"),this.delta=this.width/this.height,this.getImage=function(){var t=jQuery('<img src="'+this.url+'" class="modal-lightbox-image" />'),i=jQuery(window).width(),e=jQuery(window).height(),h=this.width,s=this.height;e<s&&(h=(s=.8*e)*this.delta),i<h&&(s=(h=.8*i)/this.delta);var n=e/2-s/2,a=i/2-h/2;return t.css({width:h,height:s,top:n,left:a}),t}}(i,e);h.element.click(function(i){i.preventDefault(),t.show(e)}),this.list.push(h)},this.show=function(i){var e=jQuery('<div class="modal-lightbox-close"><i class="lnr lnr-cross"></i></div>').click(function(){t.close()}),h=jQuery('<div class="modal-lightbox-prev"><i class="lnr lnr-chevron-left"></i></div>').click(function(){t.prev()}),s=jQuery('<div class="modal-lightbox-next"><i class="lnr lnr-chevron-right"></i></div>').click(function(){t.next()}),n=this.list[i].getImage(),a=jQuery('<div class="modal-lightbox"></div>');this.current=i,e.appendTo(a),h.appendTo(a),n.appendTo(a),s.appendTo(a),a.appendTo("body"),this.modal=a},jQuery(".lightbox").each(function(){t.add(jQuery(this))})}}});

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.