| MochaUI | A Web Applications User Interface Framework. |
Copyright © 2007-2008 Greg Houston, http://greghoustondesign.com/.
MIT-style license.
This documentation is taken directly from the javascript source files. It is built using Natural Docs.
| Core.js | |
| Functions | |
| updateContent | Replace the content of a window. |
| closeWindow | Closes a window. |
| closeAll | Close all open windows. |
| toggleWindowVisibility | Toggle window visibility with Ctrl-Alt-Q. |
| centerWindow | Center a window in it’s container. |
| dynamicResize | Use with a timer to resize a window as the window’s content size changes, such as with an accordian. |
| garbageCleanUp | Empties all windows of their children, and removes and garbages the windows. |
Replace the content of a window.
updateContent: function( windowEl, content, url, element, loadMethod )
Closes a window.
closeWindow: function( windowEl )
Close all open windows.
closeAll: function()
Toggle window visibility with Ctrl-Alt-Q.
toggleWindowVisibility: function()
Center a window in it’s container.
centerWindow: function( windowEl )
Use with a timer to resize a window as the window’s content size changes, such as with an accordian.
dynamicResize: function( windowEl )
Empties all windows of their children, and removes and garbages the windows.
garbageCleanUp: function()