aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript to capture event for restore down or maximize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript to capture event for restore down or maximize" Watch "javascript to capture event for restore down or maximize" New topic
Author

javascript to capture event for restore down or maximize

John Smith
Ranch Hand

Joined: Aug 21, 2004
Posts: 48
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
only thing you have is onresize to work with. You have no control over the buttons of the browser.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript to capture event for restore down or maximize
 
Similar Threads
Maximizing a Frame
How to redirect to any other portlet on clicking Normal or Maximized icon of portlet
window maximize/restore events
Multiple call to onresize event
resizable=no is not working with window.open FF3.6