avoid dupes and added remote paths

This commit is contained in:
pete_morgan
2006-08-19 01:38:46 +00:00
parent c58074c891
commit 3cc68f72ba

View File

@@ -7,13 +7,13 @@
is an integration of
<ulink url="&url.overLib;">overLib</ulink>, a library used for popup
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.
help windows or tooltips. {popup_init} must be called <emphasis>only once</emphasis>, preferably within the &lt;head&gt; tag
within any page you plan on using the
<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>
<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>.
</para>
@@ -24,10 +24,21 @@
<head>
{* popup_init must be called once at the top of the page *}
{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>
]]>
</programlisting>
</example>
</sect1>
<!-- Keep this comment at the end of the file
Local variables: