PageSourceSearch

https://www.isem.es/o/masteres-theme/js/jquery/jquery.resizeimaget…=js&languageId=es_ES&t=1790243914000

js isem.es collected 2026-09-24 22:44:33 UTC 869 bytes, 9 lines download raw bytes

1/*1790243914000*/
2/*
3 * Plugin Name: Resize Image to Parent Container
4 *
5 * Author: Christian Varga
6 * Author URI: http://christianvarga.com
7 *
8 */
9(function(a){a.fn.resizeToParent=function(c){var e={parent:"div",delay:100};var c=a.extend(e,c);function f(n){n.css({width:"",height:"","margin-left":"","margin-top":""});var k=n.parents(c.parent).width();var j=n.parents(c.parent).height();var h=n.width();var g=n.height();var m=h/k;if((g/m)<j){n.css({width:"auto",height:j});h=h/(g/j);g=j}else{n.css({height:"auto",width:k});h=k;g=g/m}var l=(h-k)/-2;var i=(g-j)/-2;n.css({"margin-left":l,"margin-top":i})}var d;var b=this;a(window).on("resize",function(){clearTimeout(d);d=setTimeout(function(){b.each(function(){f(a(this))})},c.delay)});return this.each(function(){var g=a(this);g.attr("src",g.attr("src"));g.load(function(){f(g)});if(this.complete){f(g)}})}})(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.