• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javascript to capture event for restore down or maximize

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic