This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript to capture event for restore down or maximize

 
John Smith
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:

I am using IE 6 SP2.
I needed to resize an iFrame when the window is resize. And the only way I know how is to
called a javascript function when the resize event occur.
I can capture the event when the window is resize on a simple html but when I used with an
actual application, the resize event doesnot get trigger when I changed the size of the window.
I believed the reason is because if the url the IFrame references also has a resize event in its
body it interferes with the resize event outside of the iframe.


The alternative for me is to capture the event when the user click on the "restore down" or when the user click on "maximize" button in the popup.
Does anybody know the javascript to do such thing.

Any hint would be greatly appreciated.

Yours,

Frustrated.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
only thing you have is onresize to work with. You have no control over the buttons of the browser.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic