Hi Stefan,
ah, ok, the login example is not a window.
To run the blocker with the demo. Please use this:
// Set a z-index to the GroupBox
this.__container.setZIndex(1001);
// Initialize the blocker
var root = this.getRoot();
root.setBlockerOpacity(0.9);
root.setBlockerColor("black");
// Show the blocker
root.blockContent(1000);
// Remove the blocker
root.unblockContent();
But be careful with using animation and qooxdoo widgets, see bug report
for details:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1635
Cheers,
Chris
Am 26.01.2010 11:51, schrieb [email protected]:
> Hello,
>
> not really i try ro make a loginbox like this
>
> http://demo.qooxdoo.org/current/demobrowser/#animation~Login.html
>
> Have the shake effect but the background should be in transparent
> dark black:)
>
>
>
>> Hi Stefan,
>>
>> you are using the wrong blocker. It seems to me that you want to use a
>> modal window. Please have also a look at the API Viewer:
>> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.window.Window~modal
>>
>> Set the modal to "true" to block the background from the window. To set
>> the background color and opacity use this in the main method from the
>> Application:
>> var root = this.getRoot();
>> root.setBlockerOpacity(0.9);
>> root.setBlockerColor("black");
>>
>> Cheers,
>> Chris
>>
>> Am 26.01.2010 09:44, schrieb Stefan Meyer:
>>
>>
>>> Hello,
>>> i try to block a page and insert this code
>>>
>>> var blocker = new qx.bom.Blocker;
>>> blocker.setBlockerOpacity(0.9);
>>> blocker.setBlockerColor("black");
>>> blocker.block();
>>>
>>> but i want to open a window and i want that this window isnt blocked. I
>>> try to create it after the blocking but the window is blocked too.:(
>>> Ho can i fi this problem?Thanks for any help
>>>
>>> ------------------------------------------------------------------------------
>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>> Stay online with enterprise data centers and the best network in the
>>> business
>>> Choose flexible plans and management services without long-term contracts
>>> Personal 24x7 support from experience hosting pros just a phone call away.
>>> http://p.sf.net/sfu/theplanet-com
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>>
>>
>>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Christian Schmidt
Software Entwickler
1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
[email protected]
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel