X

jQuery Windows Engine (jqWindowsEngine)

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

Create a new window
Create a modal window
Close all windows

Download:

Download v2.0 Excelent new version from Dominik Marczuk from UmbraProjekt
Download v1.7
View js Source
View css Source
Licensed under the MIT license.

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,
            type: "normal", // "normal" or "iframe"
            modal: false
		});
        $.updateWindowContent(id,newContent);
        $.updateWindowContentWithAjax(id,url,[cache]);
        $.moveWindow(id, x, y);
        $.resizeWindow(id, width, height);
        $.minimizeWindow(id);
        $.maximizeWindow(id);
        $.closeWindow(id);
        $.closeAllWindows();