PageSourceSearch

https://eijapirttilahti.fi/media/modals/js/script.min.js

js eijapirttilahti.fi collected 2026-10-10 02:04:14 UTC 1,756 bytes, 7 lines download raw bytes

1/*
2 * Copyright © 2014 NoNumber All Rights Reserved
3 * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
4 */
5(function($){$(document).ready(function(){$.each($('.'+modal_class),function(i,el){var $el=$(el);var defaults=$.extend({},modal_defaults);$.each(el.attributes,function(index,attr){if(attr.name.indexOf("data-modal-")===0){var key=$.camelCase(attr.name.substring(11));defaults[key]=attr.value;}});if(defaults['innerWidth']!=undefined){delete defaults['width'];}
6if(defaults['innerHeight']!=undefined){delete defaults['height'];}for(key in defaults){if(defaults[key]=='true'){defaults[key]=true;}else if(defaults[key]=='false'){defaults[key]=false;}else if(!isNaN(defaults[key])){defaults[key]=parseFloat(defaults[key]);}}
7defaults['onComplete']=function(){modalsResize()};$el.colorbox(defaults);});});modalsResize=function(){$.each($('#colorbox'),function(i,el){var $el=$(el);var $title=$('#cboxTitle');var $content=$('#cboxLoadedContent');var $title_height=$title.outerHeight()+1;var $margin_top=parseInt($content.css('marginTop'));if($title_height>$margin_top){var $div_height=$title_height-$margin_top;$content.css('marginTop',$title_height);if(parseInt($el.css('top'))<23){$content.css('height',parseInt($content.css('height'))-$div_height);}else{$el.css('height',parseInt($el.css('height'))+$div_height);$el.css('top',parseInt($el.css('top'))-($div_height/2));$('#cboxWrapper').css('height',parseInt($('#cboxWrapper').css('height'))+$div_height);$('#cboxContent').css('height',parseInt($('#cboxContent').css('height'))+$div_height);$('#cboxMiddleLeft').css('height',parseInt($('#cboxMiddleLeft').css('height'))+$div_height);$('#cboxMiddleRight').css('height',parseInt($('#cboxMiddleRight').css('height'))+$div_height);}}});};})(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.