Unfortunately, there is no control of the opacity. The problem is that for certain browsers, the opacity attribute doesn't work well and we need to use a masking transparent picture.
-Matej On 7/4/07, Sean Sullivan <[EMAIL PROTECTED]> wrote: > Hello, > > I am using a Wicket 1.3.0 SNAPSHOT from the trunk. > > In the ModalWindow class, there are two masks available: > > MaskType.TRANSPARENT > MaskType.SEMI-TRANSPARENT (10% opacity) > > Is there a way for me to have finer control of the degree of opacity? I'd > love to be able to control it through a Java API. > > For what its worth, I inspected the Wicket's ModalWindow implementation and > noticed that the mask is implemented in the modal.css file: > > > > div.wicket-mask-dark { > position: fixed; > top: 0px; > left: 0px; > width: 100%; > height: 100%; > opacity: 0.1; > -moz-opacity:0.1; > background-color: black; > filter: alpha(opacity=10); > background-image: url('transparent2.png'); > } > > div.wicket-mask-transparent { > position: fixed; > top: 0px; > left: 0px; > width: 100%; > height: 100%; > > background-image: url('transparent1.gif'); > } > > > > Cheers, > > Sean > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user