Clickity Classify
开发者 |
ajschlosser
|
更新时间 |
2014年8月18日 23:32 |
PHP版本: |
3.9.1 及以上 |
WordPress版本: |
3.9.1 |
版权: |
GPL2 |
版权网址: |
版权信息
|
详情介绍:
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.
安装:
Add the plugin to your WordPress installation. That's it. It will automagically work with any element with the class "cc-class" (or any custom class name you provide on the settings page).
0.0.21
- Please install or update to this version; previous versions contain a big bad bug
更新日志:
0.0.1
0.0.2
- Add support for pre-classed elements
0.0.21
- Whoops, fix world-breaking bug