ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

jquery_dropdown.php
Go to the documentation of this file.
1 <?php
2
3 /*
4 * This source code is a part of the Ultimix Project.
5 * It is distributed under BSD license. All other third side source code (like tinyMCE) is distributed under
6 * it's own license wich could be found from the corresponding files or sources.
7 * This source code is provided "as is" without any warranties or garanties.
8 *
9 * Have a nice day!
10 *
11 * @url http://ultimix.sorceforge.net
12 *
13 * @author Alexey "gdever" Dodonov
14 */
15
26 class jquery_dropdown_1_0_0{
27
38 var $PageCSS = false;
39 var $PageJS = false;
40 var $Utilities = false;
41
56 function __construct()
57 {
58 try
59 {
60 $this->PageCSS = get_package( 'page::page_css' , 'last' , __FILE__ );
61 $this->PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
62 $this->Utilities = get_package( 'utilities' , 'last' , __FILE__ );
63 }
64 catch( Exception $e )
65 {
66 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
67 }
68 }
69
88 function pre_generation( &$Options )
89 {
90 try
91 {
92 $Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_dropdown' , 'last' );
93 $this->PageJS->add_javascript( "$Path/include/js/jquery.dropdownPlain.js" , true );
94
95 $this->PageCSS->add_stylesheet( "$Path/res/css/style.css" , true );
96 if( $this->Utilities->detect_browser() == 'ie' )
97 {
98 $this->PageCSS->add_stylesheet( "$Path/res/css/ie.css" , true );
99 }
100 }
101 catch( Exception $e )
102 {
103 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
104 }
105 }
106 }
107
108 ?>