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 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 &lt;head&gt; 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
--> -->