Clickity Classify automatically adds (and/or removes) custom CSS classes to DOM elements when certain elements are clicked, making JavaScript onclick and onclick-style events trivial. It looks for elements with a special class name ("cc-class" by default), and then adds a JavaScript on-click event listener to them. When clicked, Clickity Classify will add (or remove) a custom CSS class ("cc-clicked" by default) to the next-closest element. You can then add transitions, animations, etc. to this class in your CSS file(s). This is especially handy for dropdown menus.
Author: | Aaron John Schlosser (profile at wordpress.org) |
WordPress version required: | 3.9.1 |
WordPress version tested: | 3.9.2 |
Plugin version: | 0.0.3 |
Added to WordPress repository: | 01-08-2014 |
Last updated: | 18-08-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/ajschlosser/clickity-class... |
Total downloads: | 138 |
Click to start download |
Clickity Classify automatically adds (and/or removes) custom CSS classes to DOM elements when certain elements are clicked, making JavaScript onclick and onclick-style events trivial. It looks for elements with a special class name ("cc-class" by default), and then adds a JavaScript on-click event listener to them. When clicked, Clickity Classify will add (or remove) a custom CSS class ("cc-clicked" by default) to the next-closest element. You can then add transitions, animations, etc. to this class in your CSS file(s). This is especially handy for dropdown menus.