From 4f065d6483856cbdbe85f9b6e6b705ed393c06a1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 12 Sep 2013 15:57:32 +0200 Subject: [PATCH] Removed jOverlay as it's outdated and not referenced --- js/jquery.joverlay.js | 314 ------------------------------------- js/jquery.joverlay.min.js | 7 - lib/action.php | 2 - theme/base/css/display.css | 27 ---- 4 files changed, 350 deletions(-) delete mode 100644 js/jquery.joverlay.js delete mode 100644 js/jquery.joverlay.min.js diff --git a/js/jquery.joverlay.js b/js/jquery.joverlay.js deleted file mode 100644 index cf4e159986..0000000000 --- a/js/jquery.joverlay.js +++ /dev/null @@ -1,314 +0,0 @@ -/* Copyright (c) 2009 Alvaro A. Lima Jr http://alvarojunior.com/jquery/joverlay.html - * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) - * Version: 0.8 (OUT 19, 2009) - * Requires: jQuery 1.3+ - */ - -(function($) { - - // Global vars - var isIE6 = $.browser.msie && $.browser.version == 6.0; // =( - var JOVERLAY_TIMER = null; - - $.fn.jOverlay = function(options) { - - // Element exist? - if ( $('#jOverlay').length ) {$.closeOverlay();} - - // Clear Timer - if (JOVERLAY_TIMER !== null) { - clearTimeout( JOVERLAY_TIMER ); - } - - // Set Options - var options = $.extend({}, $.fn.jOverlay.options, options || {}); - - // success deprecated !!! Use onSuccess - var onSuccess = options.onSuccess || options.success; - - var element = this.is('*') ? this : '#jOverlayContent'; - - var position = isIE6 ? 'absolute' : 'fixed'; - - var isImage = /([^\/\\]+)\.(png|gif|jpeg|jpg|bmp)$/i.test( options.url ); - - var imgLoading = options.imgLoading ? "" : ''; - - // private function - function center(id) { - if (options.center) { - $.center(id); - } else if( isIE6 ) { - $.center('#jOverlayContent',{ - 'top' : $(window).scrollTop() + 'px', - 'marginLeft' : '', - 'marginTop' : '', - 'left' : '' - }); - } - } - - $('body').prepend(imgLoading + "
" - + "