0
When I try that - it works fine for me and I get the alert. I am also using IE6 on WinXP. My body tag looks like this:
<body onResize="alert('body resize');">
There is another way to do the same thing, and perhaps that method may work for you when this one doesn't for some reason. Put a script tag in your page like this:
<script language="Javascript">
document.body.onresize = function (){
alert("Thanks for resizing!");
}
</script>
That method also works for me, and it may work for you too.
Labels:
Javascript
Loading related posts...
Javascript
10/12/2010 05:02:00 PM
Subscribe to:
Post Comments (Atom)