Konstantin:
This should let you check if a window is maximized...
if (screen.width === window.outerWidth && screen.height ===
window.outerHeight) {
console && console.log('Your window is maximized.');
}
else {
console && console.log('Your window is not maximized.');
}
--
Nathan Smith
http://sonspring.com
On Wed, May 18, 2011 at 8:34 AM, Konstantin Breu
<[email protected]> wrote:
> Hi,
>
> I am searching for a cross browser implementation which checks whether the
> current window is maximized? And an implementation which opens a popup
> maximized (!=fullscreen in IE). Does anyone have hints for that?
>
> The usecase: my App opens an application in a popup window. When the user
> opens the application (popup) again, I want to restore the previous window
> state (maximized yes/no, if not maximized height/width/position). Everything
> works, but maximized state detection not so far...
>
> Cheers,
> Konstantin
>
>
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here:
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]
>
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]