| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/JSEngine/build/vendor/jQuery-rwdImageMaps/ |
Upload File : |
!function(t){t.fn.rwdImageMaps=function(){var a=this,r=function(){a.each(function(){if("undefined"!=typeof t(this).attr("usemap")){var a=this,r=t(a);t("<img />").on("load",function(){var a="width",e="height",i=r.attr(a),n=r.attr(e);if(!i||!n){var h=new Image;h.src=r.attr("src"),i||(i=h.width),n||(n=h.height)}var s=r.width()/100,c=r.height()/100,o=r.attr("usemap").replace("#",""),d="coords";t('map[name="'+o+'"]').find("area").each(function(){var a=t(this);a.data(d)||a.data(d,a.attr(d));for(var r=a.data(d).split(","),e=new Array(r.length),h=0;h<e.length;++h)h%2===0?e[h]=parseInt(r[h]/i*100*s):e[h]=parseInt(r[h]/n*100*c);a.attr(d,e.toString())})}).attr("src",r.attr("src"))}})};return t(window).resize(r).trigger("resize"),this}}(jQuery);