var wp_optimize = window.wp_optimize || {}; /** * Blocks UI * * @param {string} message Information to show in blockUI * @param {Object} options Display options * @param {integer} timeout (optional) * @param {boolean} is_popup_blocking_screen (optional) when is true then it is impossible to close the popup by clicking outside */ wp_optimize.block_ui = function (message, options, timeout, is_popup_blocking_screen) { var $ = jQuery, logo_src = (typeof wpoptimize !== 'undefined' && wpoptimize.logo_src) || (typeof wposmush !== 'undefined' && wposmush.logo_src), font_size = message.length < 30 ? 'large' : ( message.length < 100 ? 'medium' : 'small'), params = { css: { width: '300px', border: 'none', 'border-radius': '10px', left: 'calc(50% - 150px)', padding: '20px' }, message: '<div class="wp_optimize_blink_animation"><img src="'+logo_src+'" height="80" width="80"><div class="wp_optimize_blink_animation-message_text--'+font_size+'">'+message+'</div></div>' }; options = options || {}; if (timeout) { setTimeout(jQuery.unblockUI, timeout); } else if (!is_popup_blocking_screen) { options.onOverlayClick = jQuery.unblockUI; } params = $.extend(params, options); $.blockUI(params); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
handlebars | Folder | 0755 |
|
|
jszip | Folder | 0755 |
|
|
serialize-json | Folder | 0755 |
|
|
tablesorter | Folder | 0755 |
|
|
blockUI-3-8-0.min.js | File | 627 B | 0644 |
|
blockUI.js | File | 1.22 KB | 0644 |
|
cache-3-8-0.min.js | File | 7.82 KB | 0644 |
|
cache.js | File | 14.95 KB | 0644 |
|
heartbeat-3-8-0.min.js | File | 2.78 KB | 0644 |
|
heartbeat.js | File | 7.52 KB | 0644 |
|
loadAsync-3-8-0.min.js | File | 304 B | 0644 |
|
loadAsync.js | File | 670 B | 0644 |
|
loadCSS-3-8-0.min.js | File | 818 B | 0644 |
|
loadCSS.js | File | 3.05 KB | 0644 |
|
minify-3-8-0.min.js | File | 11.89 KB | 0644 |
|
minify.js | File | 20.75 KB | 0644 |
|
modal-3-8-0.min.js | File | 922 B | 0644 |
|
modal.js | File | 1.79 KB | 0644 |
|
queue-3-8-0.min.js | File | 617 B | 0644 |
|
queue.js | File | 3.32 KB | 0644 |
|
send-command-3-8-0.min.js | File | 2.58 KB | 0644 |
|
send-command.js | File | 5.88 KB | 0644 |
|
status-3-8-0.min.js | File | 3.52 KB | 0644 |
|
status.js | File | 6.81 KB | 0644 |
|
wpo-images-view-3-8-0.min.js | File | 7.33 KB | 0644 |
|
wpo-images-view.js | File | 15.58 KB | 0644 |
|
wpoadmin-3-8-0.min.js | File | 37.16 KB | 0644 |
|
wpoadmin.js | File | 76.3 KB | 0644 |
|
wposmush-3-8-0.min.js | File | 23.08 KB | 0644 |
|
wposmush.js | File | 45.44 KB | 0644 |
|