This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
how to get width and locationOnScreen of browser where applet is embedded
f jimenez
Ranch Hand
Joined: Mar 14, 2007
Posts: 30
posted
0
hello guys,
is there a way to get the properties of the browser where an applet is embedded? i want to know the location on screen, width and visible rectangle of the browser...
is this possible?
thanks a lot.
if you can't be the sun, be a star...<br />もし たいように なれないたら ほしに なれ。
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35242
7
posted
0
You maybe able to use LiveConnect to access the JavaScript window object and its various properties (innerHeight, innerWidth, outerHeight, outerWidth). The Plugin Developer Guide has an example of an applet that does this. I don't think the location of the window on the screen is available.