mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-30 20:01:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="iso-8859-1"?>
 | |
| <!-- $Revision$ -->
 | |
| <sect1 id="language.function.popup.init">
 | |
|  <title>popup_init</title>
 | |
|  <para>
 | |
|   popup is an integration of overLib, 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. overLib
 | |
|   was written by Erik Bosrup, and the homepage is located at
 | |
|   http://www.bosrup.com/web/overlib/.
 | |
|  </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
 | |
|   root and supply the relative path to this file as the "src"
 | |
|   parameter to popup_init.
 | |
|  </para>
 | |
|  <example>
 | |
|   <title>popup_init</title>
 | |
|   <programlisting>
 | |
| <![CDATA[
 | |
| {* popup_init must be called once at the top of the page *}
 | |
| {popup_init src="/javascripts/overlib.js"}
 | |
| ]]>
 | |
|   </programlisting>
 | |
|  </example>
 | |
| </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
 | |
| --> |