dcsimg
Resize a browser window to it's real needed space (Mozilla)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thomas_Hackel
Posted On:   Thursday, June 26, 2003 12:39 AM

Hi!


How it's possible to resize a window to it's really needed size using MOZILLA/Netscape or others ?



Thanks to Nitesh Naveen, he gave me a very useable answer for doing this in the IE, but the properties clientWidth/Height for elements are only supported in IE.
see JGuru Forum answer by Nitesh Naveen

I 'googled' a lot but found nothing really usable. Maybe it is NOT possible to get the real size of elements in other browser than IE ?


thanks in advance,
Thomas

Re: Resize a browser window to it's real needed space (Mozilla)

Posted By:   Nitesh_Naveen  
Posted On:   Thursday, June 26, 2003 02:10 AM

The answer there was for both... IE and Netscape 6+. The else part which gets width as document.width and height as document.height works for the Netscape (6+). The resizeTo function however is not supported in Netscape versions 4.7X and lesser or IE 5 and lesser.
About | Sitemap | Contact