-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am performing an evaluation of GUI frameworks for a client. My client delivers a dual screen configuration to his customers, one screen usually showing the core GUI of the application, the other one auxiliary information such as notification screens or video.
Can this window be positioned somewhere on the second screen?
If the former doesn't work, is there a way to enlarge the browser window to cover both screens in a 2-screen-desktop configuration and is it possible to detect this configuration in JS client code? In terms of browser, we might use a particular browser type/version only if necessary.
Thanks for any advice, I haven't found anything on this topic in the ZK resources.
Which mechanisms that ZK provides could we use to support this configuration?
ZK does not have a direct support for dual monitor as it is OS level function not browser level.
Is it possible to open a (non-modal) window outside the bounds of the browser window?
Can this window be positioned somewhere on the second screen?
If the former doesn't work, is there a way to enlarge the browser window to cover both screens in a 2-screen-desktop configuration and is it possible to detect this configuration in JS client code? In terms of browser, we might use a particular browser type/version only if necessary.
There is no direct support in terms of API or configuration for such dual monitor view control from browser or JavaScript. From quick search there are few stackoverflow threads on this subject but they all usually point to the trick of finding out browser left/right edge and then using negative or large positive values for window.resizeTo() and window.moveTo() APIs to control display of browser window.
Due to ZK's excellent Server+Client fusion architecture it is easier to integrate custom JavaScript and/or integrate 3rd party widget . You could write a custom JS plaugin for dual monitor control using the tricks mentioned above or use any 3rd party widget/library that takes care of this and integrate either of these solutions with ZK. If you need support for writing such custom JS plugin could consider contacting ZK at [email protected]
Asked: 2013-10-10 23:13:07 +0800
Seen: 20 times
Last updated: Oct 23 '13
Do not update to ZK Studio 2.0
Catch Server 503 Error - Or Catch Stale Page
how to save spreadsheet data into postgres database?
One controller file with multiple zul file
Why am I getting authentication error for ZK studio activation?
How can i make Tomcat (with virtual hosts) to parse the zul page in subfolders?