[thelist] onresize for valid XHTML
Gerd Baumann
gb at inetwire.com
Fri Oct 5 07:09:37 CDT 2001
Hi,
I just wanted to install a CSS Resizefix javascript for my
favorite browser only to find out that the "onresize" event
handler is not valid XHTML. I had a function like this
function reDo(){ window.location.reload() }
window.onresize = reDo;
and was going to call it like
body onresize="window.location.reload()"
but W3C gives me a
Error: there is no attribute "onresize" for this element (in
this HTML version)
Could somebody please point a javascript inepto in the
right direction?
Thanks for your help,
Gerd
More information about the thelist
mailing list