A package containing JQuery, JQuery UI, JQuery Tools and a small set of JQuery plugins
Project description
What is ztfy.jqueryui ?
ztfy.jqueryui is a set of javascript resources (and their dependencies) allowing any application to easily use a set of JQuery plug-ins; when possible, all CSS and JavaScript resources are already minified via Yahoo ‘yui-compressor’ tool.
Most of these plug-ins are used by default ZTFY skins and packages.
- Currently available plug-ins include :
the JQuery engine
jquery-alerts
jquery-colorpicker
jquery-datatables
jquery-datetime
jquery-fancybox
jquery-form
jqeury-imgareaselect
jqeury-jscrollpane
jquery-jsonrpc
jquery-jtip
jquery-multiselect
jquery-progressbar
jquery-tools
jquery-treetable
jquery-ui
How to use ztfy.jqueryui ?
All JQuery resources are just defined as Fanstatic libraries. ZCML registration is not required.
Using a given plug-in is as simple as using the following syntax in any HTML view:
>>> from ztfy.jqueryui.browser import jquery >>> jquery.need()
Given that, all plug-in dependencies will automatically be included into resulting HTML page.
A single resource can be required several times for a single page, but the resulting resources will be included only one via the Fanstatic machinery.
When available, a minified version as well as a “clear source” version are defined. When using ZTFY.webapp package, the first one is used in “deployment” mode while the second one is automatically used in “development” mode to make debugging very easy.
Requiring plugins through templates
If, for example, you want to call resources from a site’s layout for which you don’t have any Python class, you can call it directly from a page template, like this:
<tal:var replace="fanstatic:ztfy.jqueryui#jquery" />
The “fanstatic:” expression is provided by ztfy.utils package.
Changelog
0.6.0
added JQuery ColorPicker plug-in
removed unused ‘browser’ module and moved resources to ztfy.jqueryui
0.5.5
new small update on JQuery multi-select widget style
updated README.txt
0.5.4
small update on JQuery multi-select widget style
0.5.3
updated JQuery-MultiSelect plug-in to release 0.1.11-tf
improved IE’s CSS compatibility for JQuery-MultiSelect plug-in
added customized JQuery-ProgressBar plug-in, which is based on Apache2’s progress extension module (http://github.com/drogus/apache-upload-progress-module/)
0.5.2
updated JQuery UI 1.7 library to release 1.7.3
added JQuery UI library in release 1.8.16 (set as default)
remove “Tabs” plugin from JQuery UI widgets package to avoid conflict with JQuery Tools Tabs (which is used in several ZTFY packages)
remove JQuery-form in releases 2.07 and 2.36
remove JQuery-UI in release 1.5.2
0.5.1
updated resources path and rebuild minified version of CSS and JS resources
0.5.0
migrated from zc.resourcelibrary to zope.fanstatic
0.4.1
added JQuery-1.4.4 and JQuery-1.7 ; JQuery-1.4.4 is now the default one for ZTFY packages.
0.4
switched to ZTK-1.1.2
changed z-index for JQuery datetime calendar to use it in overlays
added custom release (0.1.9-tf) of jquery-multiselect plug-in
added release 1.7.4 of jquery-datatables plug-in
switched jquery-form plugin to release 2.51
small style change on date and datetime input fields
0.3
added jScrollPane plug-in (revision 93)
corrected resources dependencies
0.2
added JQuery TOOLS release 1.2.4 (resource ‘ztfy.jquery.tools-1.2’)
removed unused CSS resources
0.1
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.