wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Meillet <francois.meil...@gmail.com>
Subject Re: Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to?
Date Mon, 12 May 2014 08:57:35 GMT
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 <sunyabin@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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message