tmt.jquery.modalframe Is a jQuery based widget. It leverages and extends the Dialog widget from UI - jQuery. Its main purpose it to display iframes inside modal dialogs. The dialogs can also be "chained" and are aware of other dialogs available inside the page
In order to use this library you need tmt_jquery_modalframe.js, a UI -jQuery's build that contains that support the Dialog widget (like this one) and jquery.js
| tmt.jquery.modalframe.open(url, options) | Open a modal dialog loading the given url inside it Available arguments:
Available options:
|
| tmt.jquery.modalframe.close() | Close the topmost dialog, if any |
| tmt.jquery.modalframe.closeAll() | Close all dialogs |
| tmt.jquery.modalframe.getOpener() | Return the opener window object of the topmost dialog |
| tmt.jquery.modalframe.refreshOpener() | Refresh the opener window of the topmost frame |
| tmt.jquery.modalframe.resize(newWidth, newHeight) | Resize the topmost dialog |