J
JezB
I need to code my own resize event, and Im not sure how.
I have a DIV whose width I always want to be the browser height (the inner
pane, excluding the toolbars, status bar etc) - 200 points (say). I can't
use a height % for this, so as I understand it I need to code my own
onresize event.
Trouble is, I know almost nothing about javascript, so I dont know how to
get the browser window height or set the DIV height.
The solution should be portable if possible (ie. run on IE, Netscape,
Mozilla, etc).
I have a DIV whose width I always want to be the browser height (the inner
pane, excluding the toolbars, status bar etc) - 200 points (say). I can't
use a height % for this, so as I understand it I need to code my own
onresize event.
Trouble is, I know almost nothing about javascript, so I dont know how to
get the browser window height or set the DIV height.
The solution should be portable if possible (ie. run on IE, Netscape,
Mozilla, etc).