0

Dual screen handling

asked 2013-10-10 23:13:07 +0800

HeikoErhardt gravatar image HeikoErhardt
1

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.

  • Which mechanisms that ZK provides could we use to support this configuration?
  • 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.

Thanks for any advice, I haven't found anything on this topic in the ZK resources.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-10-23 07:41:58 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

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]

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-10-10 23:13:07 +0800

Seen: 20 times

Last updated: Oct 23 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More