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

> > var w = document.body ? document.body.clientWidth : self.innerWidth;
> > var h = document.body ? document.body.clientHeight : self.innerHeight;
> > document.writeln(w+"x"+h);
> 
>      jenze prave to self.innerWidth neni ani v MSIE 5.0 definovano - bere se
> to jako user-defined vlastnost... - to je prave muj problem...

asi si nerozumime.
Netscape - zna self.innerWidth
MSIE - zna document.body.clientWidth
oboje je priblizne totez.
rozlisit browser jde treba pomoci existence document.body.
kde je problem?

kdyztak viz http://vega.redigy.cz/~trifid/frameset.htm
- me funguje pod NN i MSIE.

> PaJaSoft

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

Search the boards