You could check the ModalWindow in wicket-extensions.
It contains a file called modal.js. In that file you can find the
following function:
/**
* Creates the mask accordingly to the settings.
*/
createMask: function() {
if (this.settings.mask == "transparent")
this.mask = new Wicket.Window.Mask(true);
else if (this.settings.mask == "semi-transparent")
this.mask = new Wicket.Window.Mask(false);
if (typeof(this.mask) != "undefined") {
this.mask.show();
}
},
You could change this function and the ModalWindow.MaskType so you can
set a 'disabled' mask.
After that, you can create a JIRA issue with your code, so more people
can profit from it :-)
Regards,
Daan
On 6 okt 2008, at 22:04, Cédric Thiébault wrote:
A ModalWindows is not just a DIV with a mask...
I need all the ModalWindow logic (show/hide, drag, resize, etc.) but
not the mask.
Cedric
On Mon, Oct 6, 2008 at 3:30 PM, Daan van Etten <[EMAIL PROTECTED]> wrote:
Yes, it's called a DIV.
Regards,
Daan
On 6 okt 2008, at 21:08, Cédric Thiébault wrote:
Is there an equivalent of the ModalWindow but non-modal, ie
without a
mask that prevent user from interacting the rest of page ?
Thanks!
Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]