All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.js.base.jqmodal.min.js Maven / Gradle / Ivy

There is a newer version: 5.0.6
Show newest version
'use strict';(function(c,k){"function"===typeof define&&define.amd?define(["jquery"],function(h){return k(h,c.document)}):"object"===typeof module&&module.exports?module.exports=function(c,f){c||(c=window);void 0===f&&(f="undefined"!==typeof window?require("jquery"):require("jquery")(c));k(f,c.document);return f}:k(jQuery,c.document)})("undefined"!==typeof window?window:this,function(c,k){var h=0,f,l=[],m=function(a){try{c(":input:visible",a.w).first().focus()}catch(g){}},r=function(a){var g=f[l[l.length-
1]],b=!c(a.target).parents(".jqmID"+g.s)[0],d=c(a.target).offset(),e=void 0!==a.pageX?a.pageX:d.left,n=void 0!==a.pageY?a.pageY:d.top,d=function(){var a=!1;c(".jqmID"+g.s).each(function(){var b=c(this),d=b.offset();if(d.top<=n&&n<=d.top+b.height()&&d.left<=e&&e<=d.left+b.width())return a=!0,!1});return a};if("mousedown"!==a.type&&d())return!0;"mousedown"===a.type&&b&&(d()&&(b=!1),b&&!c(a.target).is(":input")&&m(g));return!b},p=function(a){c(k)[a]("keypress keydown mousedown",r)},q=function(a,g,b){return a.each(function(){var a=
this._jqm;c(g).each(function(){this[b]||(this[b]=[],c(this).click(function(){var a,b,c,d=["jqmShow","jqmHide"];for(a=0;a




© 2015 - 2025 Weber Informatics LLC | Privacy Policy