<divclass="children"><h1>JSDE API Reference</h1><divclass="toc"><h2>Table of contents</h2><ul><li><ahref="#_getWindow">$.getWindow()</a> Returns the JsdeWindow that the applicable element exists in. Useful to do... </li><li><ahref="#JsdeWindow_id">JsdeWindow.id</a> Holds the unique ID of the window. </li><li><ahref="#JsdeWindow_x">JsdeWindow.x</a> Holds the current X position of the window. </li><li><ahref="#JsdeWindow_y">JsdeWindow.y</a> Holds the current Y position of the window. </li><li><ahref="#JsdeWindow_z">JsdeWindow.z</a> Holds the current Z-index of the window. </li><li><ahref="#JsdeWindow_width">JsdeWindow.width</a> Holds the current width of the window. </li><li><ahref="#JsdeWindow_height">JsdeWindow.height</a> Holds the current height of the window. </li><li><ahref="#JsdeWindow__inner">JsdeWindow._inner</a> Holds a reference to the DOM element containing the window contents. </li><li><ahref="#JsdeWindow_SetPositionxy">JsdeWindow.SetPosition(x, y)</a> Sets the current position of a window. </li><li><ahref="#JsdeWindow_GetPosition">JsdeWindow.GetPosition()</a> Retrieves the current position of a window. </li><li><ahref="#JsdeWindow_SetSizewidthheight">JsdeWindow.SetSize(width, height)</a> Sets the current size of a window. </li><li><ahref="#JsdeWindow_GetTitle">JsdeWindow.GetTitle()</a> Returns the current title of the window. </li><li><ahref="#JsdeWindow_SetTitletitle">JsdeWindow.SetTitle(title)</a> Sets the current title of the window. </li><li><ahref="#JsdeWindow_GetContents">JsdeWindow.GetContents()</a> Returns the current contents of the window. </li><li><ahref="#JsdeWindow_SetContentscontents">JsdeWindow.SetContents(contents)</a> Sets the contents of the window. </li></ul></div><h2>jQuery extensions</h2><divclass="definition"><aname="_getWindow">$.getWindow() <divclass="children"><divclass="text">Returns the JsdeWindow that the applicable element exists in. Useful to do things like dynamically updating windows from an AJAX response.</div></div></a></div><h2>JsdeWindow</h2><h3>Member variables</h3><divclass="definition"><aname="JsdeWindow_id">JsdeWindow.id <divclass="children"><divclass="text">Holds the unique ID of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow_x">JsdeWindow.x <divclass="children"><divclass="text">Holds the current X position of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow_y">JsdeWindow.y <divclass="children"><divclass="text">Holds the current Y position of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow_z">JsdeWindow.z <divclass="children"><divclass="text">Holds the current Z-index of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow_width">JsdeWindow.width <divclass="children"><divclass="text">Holds the current width of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow_height">JsdeWindow.height <divclass="children"><divclass="text">Holds the current height of the window.</div></div></a></div><divclass="definition"><aname="JsdeWindow__inner">JsdeWindow._inner <divclass="children"><divclass="exclamation"><strong>Important:</strong> Do <strong>not</strong> use this to set the window contents, use JsdeWindow.SetContents() instead! <divclass="children"></div></div><divclass="text">Holds a reference to the DOM element containing the window contents.</div></div></a></div><h3>Member functions</h3><divclass="definition"><aname="JsdeWindow_SetPositionxy">JsdeWindow.SetPosition(<em>x</em>, <em>y</em>) <divclass="children"><divclass="text">Sets the current position of a window.</div><dl><dt>x</dt><dd>The X coordinate.<divclass="children"></div></dd></dl><dl><dt>y</dt><dd>The Y coordinate.<divclass="children"></div></dd></dl><divclass="example">Example: Setting the window position <divclass="children"><h7>Code:</h7><preclass="code">win.SetPosition(100, 110);</pre></div></div></div></a></div><divclass="definition"><aname="JsdeWindow_GetPosition">JsdeWindow.GetPosition() <divclass="children"><divclass="