You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by 003210 <su...@raisecom.com> on 2014/05/07 05:51:14 UTC
Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to?
Hi,
Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for?
Is there relative docs could be refered to?
'var element=document.getElementById('container');
var settings = new Object();
settings.minWidth=200;
settings.minHeight=200;
settings.className='w_blue';
settings.width=700;
settings.height=500;
settings.resizable=true;
settings.element=element;
settings.title='网元2机箱1槽位5板卡1.1端口1';
settings.mask='semi-transparent';
settings.autoSize=false;
settings.unloadConfirmation=true;
Wicket.Window.create(settings).show();'
软件七部 孙雅斌
分机:58963399-5244
Re: Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to?
Posted by Francois Meillet <fr...@gmail.com>.
From the modal.js file
org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
className
set the class of window (blue or silver by default)
unloadConfirmation
Display confirmation dialog if the user is about to leave a page (IE and FF).
mask
Transparent or semi-transparent masks that prevents user from interacting
with the portion of page behind a window.
François Meillet
Formation Wicket - Développement Wicket
Le 7 mai 2014 à 05:51, 003210 <su...@raisecom.com> a écrit :
>
> Hi,
> Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for?
> Is there relative docs could be refered to?
>
> 'var element=document.getElementById('container');
> var settings = new Object();
> settings.minWidth=200;
> settings.minHeight=200;
> settings.className='w_blue';
> settings.width=700;
> settings.height=500;
> settings.resizable=true;
> settings.element=element;
> settings.title='网元2机箱1槽位5板卡1.1端口1';
> settings.mask='semi-transparent';
> settings.autoSize=false;
> settings.unloadConfirmation=true;
> Wicket.Window.create(settings).show();'
>
>
>
>
> 软件七部 孙雅斌
> 分机:58963399-5244