I have an issue with iframe's and modal MessageBox's. The issue is the modal mask will only ever cover the iframe it's called from.

Now one soultion for display and forget MessageBox's is to put a function in the parent iframe and simpyl just called parent.showMessage() or something, all fine.

However where I am coming unstuck is with regards to function callbacks, is it possible to propagate this? Because I need the handler to run in the child iframe while the MessageBox is displayed in the parent, thus masking yet properly handling attached code.

Does anyone have any ideas on this?