Files
smarty/docs/en/designers/language-custom-functions/language-function-popup-init.xml

54 lines
1.6 KiB
XML
Raw Normal View History

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">
<title>{popup_init}</title>
2004-05-29 21:56:21 +00:00
<para>
<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
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
<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.
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"
parameter to {popup_init}.
2004-05-29 21:56:21 +00:00
</para>
<example>
<title>popup_init</title>
<programlisting>
<![CDATA[
<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"}
</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
-->