jQuery Windows Engine (jqWindowsEngine)

The jQuery Windows Engine Plugin allows you to easily create ajax windows.

Create a new window
Close all windows

Code:

This is how you create a new window:

        $.newWindow();
		
API
        $.newWindow({
            id: "",
            title: "",
            width: 200,
            height: 200,
            posx: 50,
            posy: 50,
            content: "",
            onDragBegin : null,
            onDragEnd : null,
            onResizeBegin : null,
            onResizeEnd : null,
            onAjaxContentLoaded : null,
            statusBar: true,
            minimizeButton: true,
            maximizeButton: true,
            closeButton: true,
            draggable: true,
            resizeable: true
        });
        $.updateWindowContent(id,newContent);
        $.updateWindowContentWithAjax(id,url,[cache]);
        $.moveWindow(id, x, y);
        $.resizeWindow(id, width, height);
        $.minimizeWindow(id);
        $.maximizeWindow(id);
        $.closeWindow(id);
        $.closeAllWindows();