Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 2,290 | All time: 1,700 This week: 184![]() |
Version | License | PHP version | Categories | |||
jquery-ui-wrapper 1.0 | BSD License | 5 | HTML, PHP 5 |
Description | Author | |||||||||||||||||||||||
This package can generate HTML for pages using jQuery UI widgets. |
|
This set of classes allows you to easily use jQuery UI widgets using PHP without the use of JavaScript. This Class allows you to create widget with default parameters. For example, simply create a slider: $slider = UiWidget::getWidget('slider'); Allows you to define options for each of them: $slider->setOption('max', 50); $slider->setOption('value', 30); It is also possible to use the events offered by each of the widgets: $slider->addEventHandler('slide', 'slideHndlr'); //where 'slide' is widget event and 'slideHndlr' your JS function $slider->addEventHandler('stop', 'stopHndlr'); ... and methods: $slider->runMethod('disable'); To display the widget you just write: echo $ slider and ready:) This Class package requires jquery-ui-1.8 Please download the jquery-ui from http://jqueryui.com/download Then put the files in the ./css and ./js directories and possibly modify the paths to the your css and js files in the example file index.php For example: <link href="css/ui-lightness/jquery-ui-1.8.12.custom.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/jquery-1.5.1.min.js"> </ script> <script type="text/javascript" src="js/jquery-ui-1.8.12.custom.min.js"> </ script> |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Doc. | README FILE | ||
![]() ![]() |
Example | Example using | ||
![]() ![]() |
Output | example output | ||
![]() |
Class | The main factory class | ||
![]() |
Class | base class | ||
![]() |
Class | button specific class | ||
![]() |
Class | Datepicker specific class | ||
![]() |
Class | Dialog widget class | ||
![]() |
Class | Generic widget class |
![]() |
/ | tpl |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | button template |
![]() ![]() |
Aux. | datepicker template |
![]() ![]() |
Aux. | dialog template |
![]() ![]() |
Aux. | javascript template |
![]() ![]() |
Aux. | generic widget template |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Gerar HTML para páginas usando widgets jQuery UI Este pacote pode gerar páginas HTML para utilizar widgets jQuery UI... |