PageSourceSearch

https://www.smuc.ac.kr/_res/ko/_js/user/jquery.rwdImageMaps.min.js

js smuc.ac.kr collected 2026-09-29 11:26:38 UTC 1,382 bytes, 12 lines download raw bytes

1/*
2* rwdImageMaps jQuery plugin v1.6
3*
4* Allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize
5*
6* Copyright (c) 2016 Matt Stow
7* https://github.com/stowball/jQuery-rwdImageMaps
8* http://mattstow.com
9* Licensed under the MIT license
10*/
11;(function($){$.fn.rwdImageMaps=function(){var $img=this;var rwdImageMap=function(){$img.each(function(){if(typeof($(this).attr('usemap'))=='undefined')return;var that=this,$that=$(that);$('<img />').load(function(){var attrW='width',attrH='height',w=$that.attr(attrW),h=$that.attr(attrH);if(!w||!h){var temp=new Image();temp.src=$that.attr('src');if(!w)w=temp.width;if(!h)h=temp.height;if(!w)w=this.width;if(!h)h=this.height;}var wPercent=$that.width()/100,hPercent=$that.height()/100,map=$that.attr('usemap').replace('#',''),c='coords';$('map[name="'+map+'"]').find('area').each(function(){var $this=$(this);if(!$this.data(c))$this.data(c,$this.attr(c));var coords=$this.data(c).split(','),coordsPercent=new Array(coords.length);for(var i=0;i<coordsPercent.length;++i){if(i%2===0)coordsPercent[i]=parseInt(((coords[i]/w)*100)*wPercent);else
12coordsPercent[i]=parseInt(((coords[i]/h)*100)*hPercent);}$this.attr(c,coordsPercent.toString());});}).attr('src',$that.attr('src'));});};$(window).resize(rwdImageMap).trigger('resize');return this;};})(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.