Click to See Complete Forum and Search --> : Frame / Frameset


dominik
08-12-2003, 02:33 AM
Hello

i need a Jscript to find out the
width and height from a frameset or frame

it is possible to find out the size form a frame?

i have no idea :o(

thanks for your help

ibidris2003
08-12-2003, 05:04 AM
Hi,

you get the frame/set with window/window.frames[i]

then use innerWidth, innerHeight

http://galileo.spaceports.com/~ibidris/

dominik
08-12-2003, 06:34 AM
Hi

thank you for the help
but the script doesn't work

Charles
08-12-2003, 06:44 AM
Window.innerHeight and Window.innerWidth are both Netscape specific. Just like JavaScript itself, they work but not on all browsers.

dominik
08-12-2003, 06:50 AM
hello

i check this script in NN 7.0 and in IE 6.0
the script doesn't work :(