2004-04-13 08:46:28 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
<!-- $Revision$ -->
|
2004-05-29 21:56:21 +00:00
|
|
|
<sect1 id="language.function.popup.init">
|
2005-05-25 19:13:20 +00:00
|
|
|
<title>{popup_init}</title>
|
2004-05-29 21:56:21 +00:00
|
|
|
<para>
|
2005-05-25 19:13:20 +00:00
|
|
|
<link linkend="language.function.popup">{popup}</link>
|
|
|
|
is an integration of
|
|
|
|
<ulink url="&url.overLib;">overLib</ulink>, a library used for popup
|
2004-05-29 21:56:21 +00:00
|
|
|
windows. These are used for context sensitive information, such as
|
2005-05-25 19:13:20 +00:00
|
|
|
help windows or tooltips.{popup_init} must be called once at the
|
|
|
|
top of any page you plan on using the
|
|
|
|
<link linkend="language.function.popup">{popup}</link> function.
|
|
|
|
<ulink url="&url.overLib;">overLib</ulink>
|
2004-05-29 21:56:21 +00:00
|
|
|
was written by Erik Bosrup, and the homepage is located at
|
2005-05-25 19:13:20 +00:00
|
|
|
<ulink url="&url.overLib;">&url.overLib;</ulink>.
|
2004-05-29 21:56:21 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
As of Smarty version 2.1.2, overLib does NOT come with the release.
|
2005-05-25 19:13:20 +00:00
|
|
|
Download overLib, place the 'overlib.js' file under your document
|
2004-05-29 21:56:21 +00:00
|
|
|
root and supply the relative path to this file as the "src"
|
2005-05-25 19:13:20 +00:00
|
|
|
parameter to {popup_init}.
|
2004-05-29 21:56:21 +00:00
|
|
|
</para>
|
|
|
|
<example>
|
|
|
|
<title>popup_init</title>
|
|
|
|
<programlisting>
|
|
|
|
<![CDATA[
|
2005-05-25 19:13:20 +00:00
|
|
|
<head>
|
2004-04-13 08:46:28 +00:00
|
|
|
{* popup_init must be called once at the top of the page *}
|
2004-05-29 21:56:21 +00:00
|
|
|
{popup_init src="/javascripts/overlib.js"}
|
2005-05-25 19:13:20 +00:00
|
|
|
</head>
|
2004-05-29 21:56:21 +00:00
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
2004-04-13 08:46:28 +00:00
|
|
|
</sect1>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|