插件 jQuery.Rondell 中文API文档

🌙
手机阅读
本文目录结构

插件 jQuery.Rondell 中文API文档 https://github.com/Sebobo/jquery.rondell Stories in Ready 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

Installation

Prequisites

  • 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 libs folder.

If you don’t want to use the Modernizr library you can remove the .cssgradients, .borderradius, .rgba and .boxshadow classes in css/jquery-rondell.css.

Required files

Copy dist/jquery-rondell.js to your javascript folder. Copy dist/jquery-rondell.css to your css folder.

There are also minified files in the dist folder.

Usage

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').rondell();

Where myElement is the class of the items you want to display as rondell.

Rondell content

If myElement is an image, it is directly used and the title will be used as text overlay when hoverd.

Options

See the documentation page for the options.

Editing

Read this chapter if you want to modify or extend the rondell.

The plugin is written in coffeescript and the css with sass. The sources are provided in the src folder.

So you can either work with the compiled .js and .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.

Feedback

Please send me an email with any feedback you have or contact me on twitter @sebobo.

Contributing

Contribute!

AXIHE / 精选资源

浏览全部教程

面试题

学习网站

前端培训
自己甄别

前端书籍

关于朱安邦

我叫 朱安邦,阿西河的站长,在杭州。

以前是一名平面设计师,后来开始接接触前端开发,主要研究前端技术中的JS方向。

业余时间我喜欢分享和交流自己的技术,欢迎大家关注我的 Bilibili

关注我: Github / 知乎

于2021年离开前端领域,目前重心放在研究区块链上面了

我叫朱安邦,阿西河的站长

目前在杭州从事区块链周边的开发工作,机械专业,以前从事平面设计工作。

2014年底脱产在老家自学6个月的前端技术,自学期间几乎从未出过家门,最终找到了满意的前端工作。更多>

于2021年离开前端领域,目前从事区块链方面工作了