Posted By: Trifid (roboti dosli...) on 'CZwww'
Title:     Re: Velikost okna ve frame
Date:      Thu Sep 21 12:48:59 2000

> 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...:-(

snad cela klientska oblast toho framu, nebo ne?
v tom pripade to ale mas vyresene, 

var w = document.body ? document.body.clientWidth : self.innerWidth;
var h = document.body ? document.body.clientHeight : self.innerHeight;
document.writeln(w+"x"+h);

-- Trifid@Redigy.Cz ---------------------------------------------- ? --

Search the boards