Skip to content
Snippets Groups Projects
Commit 593cd1b8 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"showOverlay" erweitert

parent ef530dc7
No related branches found
No related tags found
No related merge requests found
......@@ -179,8 +179,11 @@ define(['jquery'], function ($) {
}
function showOverlay($x, _wd, _ht) {// _wd, _ht: relativer Faktor
var opt = typeof _wd == 'object' ? _wd : false;
var $p = $x.hasClass('vl-page') ? $x : $x.parents('.vl-page');
var $e = $p.children('.vl-overlay');
var $e = $x.hasClass('vl-overlay') ? $x :
$x.siblings('.vl-overlay').length ? $x.siblings('.vl-overlay') :
$p.find('.vl-overlay');
if ($e.length) $e.fadeIn(400, function() {
var $this = $(this);
var pwd = $p.width(), pht = $p.height();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment