<docbook><section><title>OATDOCinstant</title><para> </para>
<title> instant.js</title> instant.js
<para>Provides pop-up functionality to any element.</para>
<emphasis>This API was changed recently.
 Backward compatibility should be preserved, but please check if your functionality remained the same.</emphasis><bridgehead class="http://www.w3.org/1999/xhtml:h2"> Objects</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Instant(element, optObj)</bridgehead>
<para>Assigns element a pop-up functionality.
 The element can be then shown by <computeroutput>OAT.Instant::show()</computeroutput> and will be hidden by clicking elsewhere, or by explicitly calling <computeroutput>OAT.Instant::hide().optObj</computeroutput> may contain:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem><computeroutput><emphasis>showCallback</emphasis></computeroutput> - function reference to be executed when popup is shown </listitem>
<listitem><computeroutput><emphasis>hideCallback</emphasis></computeroutput> - function reference to be executed when popup is hidden</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> Methods</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Instant::show()</bridgehead>
<para>Show the element.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.Instant::hide()</bridgehead>
<para>Explicitly hide the element.</para>
<para><ulink url="CategoryDocumentation">CategoryDocumentation</ulink> <ulink url="CategoryOAT">CategoryOAT</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink></para>
</section></docbook>