Posted By: PaJaSoft (Menhir Mover & Linux Man) on 'CZwww'
Title:     Re: Velikost okna ve frame
Date:      Thu Sep 21 12:24:06 2000

> ale no tak :)
> mam 2 roky starou specifikaci netscapiho DOM1 a tam je

     Jo to jsem si taky precetl, ale...

> "self           A synonym for the current window."
> "innerHeight    Specifies the vertical dimension, in pixels, of the 
>                 window's content area."
> "innerWidth     Specifies the horizontal dimension, in pixels, of the 
>                 window's content area. "
> 
> takze zkus uvnitr framesetu napsat
> <script>
> document.writeln(self.innerWidth+"x"+self.innerHeight);
> </script>

     Jo a vis, co Ti vyhodi:

alert (self.innerWidth) - undefined... - MSIE 5.0 CZ

     Takze DOM1 je mi v tomto pripade na nic... jedinne, co mam je 
document.body.clientHeight, jenze to je cela klientska oblast...:-(
 

 ..s usmevem a laskou jde vsechno lip, nezapominejte na to v zivote..

                                                                     PaJaSoft

Search the boards