插件 jQuery.Rondell 中文API文档
插件 jQuery.Rondell 中文API文档 https://github.com/Sebobo/jquery.rondell jQuery Rondell
This is a jQuery plugin for displaying galeries and other content.
See the documentation page for a live demo and examples.
Do you like this project? Buy me a beer
- jQuery - 1.5.2 or better
- Modernizr - This library tests the browser for feature support and adds classes to the body tag. We use this for css fallbacks in our themes.
Both are also provided in the
If you don’t want to use the
Modernizr library you can remove the
.boxshadow classes in
dist/jquery-rondell.css to your css folder.
There are also minified files in the
If you like demos more than a boring documentation see the
index.html file and play with it.
The plugin can be called with jQuery in different ways.
Standard call with default settings:
myElement is the class of the items you want to display as rondell.
myElement is an image, it is directly used and the title will be used as text overlay when hoverd.
See the documentation page for the options.
Read this chapter if you want to modify or extend the rondell.
So you can either work with the compiled
.css files in your project or use the coffeescript and sass files.
I have provided a
Gruntfile which starts the watcher daemons, when your editing .scss, .jade and .coffee files. This requires node.js and coffeescript installed on your computer.
Please send me an email with any feedback you have or contact me on twitter @sebobo.