mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
avoid dupes and added remote paths
This commit is contained in:
@@ -7,13 +7,13 @@
|
|||||||
is an integration of
|
is an integration of
|
||||||
<ulink url="&url.overLib;">overLib</ulink>, a library used for popup
|
<ulink url="&url.overLib;">overLib</ulink>, a library used for popup
|
||||||
windows. These are used for context sensitive information, such as
|
windows. These are used for context sensitive information, such as
|
||||||
help windows or tooltips. {popup_init} must be called once at the
|
help windows or tooltips. {popup_init} must be called <emphasis>only once</emphasis>, preferably within the <head> tag
|
||||||
top of any page you plan on using the
|
within any page you plan on using the
|
||||||
<link linkend="language.function.popup">{popup}</link> function.
|
<link linkend="language.function.popup">{popup}</link> function. The path is relative to the executing script or a fully qualified domain path (ie not the relative to the template).
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
<ulink url="&url.overLib;">overLib</ulink>
|
<ulink url="&url.overLib;">overLib</ulink>
|
||||||
was written by Erik Bosrup, and the homepage/download is located at
|
is written and maintained by Erik Bosrup, and the homepage/download is located at
|
||||||
<ulink url="&url.overLib;">&url.overLib;</ulink>.
|
<ulink url="&url.overLib;">&url.overLib;</ulink>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -24,10 +24,21 @@
|
|||||||
<head>
|
<head>
|
||||||
{* popup_init must be called once at the top of the page *}
|
{* popup_init must be called once at the top of the page *}
|
||||||
{popup_init src='javascripts/overlib/overlib.js'}
|
{popup_init src='javascripts/overlib/overlib.js'}
|
||||||
|
|
||||||
|
{* fully qualified url example *}
|
||||||
|
{popup_init src='http://myserver.org/my_js_libs/overlib/overlib.js'}
|
||||||
|
</head>
|
||||||
|
|
||||||
|
// the first example will output
|
||||||
|
<head>
|
||||||
|
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
|
||||||
|
<script type="text/javascript" language="JavaScript" src="javascripts/overlib/overlib.js"></script>
|
||||||
</head>
|
</head>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
@@ -48,4 +59,4 @@ End:
|
|||||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||||
vim: et tw=78 syn=sgml
|
vim: et tw=78 syn=sgml
|
||||||
vi: ts=1 sw=1
|
vi: ts=1 sw=1
|
||||||
-->
|
-->
|
||||||
|
Reference in New Issue
Block a user