Jifty::Plugin::CSSQuery - use the cssQuery JavaScript library with Jifty


Jifty documentation  | view source Contained in the Jifty distribution.

Index


NAME

Top

Jifty::Plugin::CSSQuery - use the cssQuery JavaScript library with Jifty

SYNOPSIS

Top

In your etc/config.yml:

  framework:
    Plugins:
      - CSSQuery: {}

DESCRIPTION

Top

cssQuery() is a powerful cross-browser JavaScript function that enables querying of a DOM document using CSS selectors. All CSS1 and CSS2 selectors are allowed plus quite a few CSS3 selectors.

This is a Jifty plugin that let you use cssQuery javascript library in your Jifty application. cssQuery has been bundle with Jifty for a long time, for Jifty use it internally. Now it's been replaced with jQuery. It's now a plugin for backward compatibility.

It is disabled by default, unless your ConfigFileVersion is smaller or equal then 2.

For more information about cssQuery, see http://dean.edwards.name/my/cssQuery/.

METHODS

Top

init

This initializes the plugin, which simply includes the JavaScript necessary to load cssQuery, and gets rid of the cssQuery-jquery back-compat script.

SEE ALSO

Top

http://jifty.org, http://dean.edwards.name/my/cssQuery/

COPYRIGHT AND LICENSE

Top


Jifty documentation  | view source Contained in the Jifty distribution.