PDA

View Full Version : Onresize and full screen



hsantos
02-24-2007, 09:38 PM
Folks,

I just spent 2 days on this and just finished coding my page so that loading and resizing automatically sizes some scrolling elements on the page. It had to be PEFECT for both FF/IE6 since IE6 doesn't support max-height, etc, and kludging it with CSS was a PITA!

So I used javascript to get it done and I was so happyt to get it done, I had 3 glasses of WINE!!! <g>

But then I hit F11 to full screen the browser and the *******s (neither FF or IE) do not sent the resize event!! SOMB!!

Please tell me there is a simple solution. :)

TIA

---
HLS

jscheuer1
02-25-2007, 03:07 AM
IE and FF both fire the onresize event when the F11 key is hit. There must be some other problem. Try this:


<script type="text/javascript">
onresize=function(){alert('changed');};
</script>

It even fires several times in IE.