-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5037672
By: enixser
Is there a way how to determine the position of the browser window? I want to determine the position and dimension of the client area of the browser on the screen. This should be used to capture a screenshot of the current browser window.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039088
By: robbiecheng
You can get those informations from ClientInfoEvnet.
Please refer to,
http://www.zkoss.org/javadoc/3.0.5/zk/org/zkoss/zk/ui/event/ClientInfoEvent.html
/robbie
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039487
By: enixser
Unfortunately not! The ClientInfoEvent holds desktopXOffset and desktopYOffset, but this is not the position of the browser window as it changes when the user scrolls the content of the window.
Best regards,
Ralf.
Asked: 2008-06-17 10:24:22 +0800
Seen: 111 times
Last updated: Jun 18 '08