evant
21 Jun 2007, 7:02 PM
I have a border layout with a north and center region. The north region contains a toolbar button with a menu, the center region contains a series of iframes. When you expand the menu, it appears over the iframe fine, however if you click anywhere that isn't the menu itself or the north panel, the menu doesn't hide.
I've tried the following things:
1) Binding a click event to the iframe element
2) Binding a click event to the document.body of the main page
I don't want to have to bind a click event inside each iframe to fire an event in the parent window. Is there any easy to do this?
Cheers.
I've tried the following things:
1) Binding a click event to the iframe element
2) Binding a click event to the document.body of the main page
I don't want to have to bind a click event inside each iframe to fire an event in the parent window. Is there any easy to do this?
Cheers.