| 
									
										
										
										
											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> | 
					
						
							|  |  |  |  <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[ | 
					
						
							| 
									
										
										
										
											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"} | 
					
						
							|  |  |  | ]]> | 
					
						
							|  |  |  |   </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 | 
					
						
							|  |  |  | --> |