An open API service indexing awesome lists of open source software.

https://github.com/vitalk/jquery-flyout

Fly out some box when action occurs
https://github.com/vitalk/jquery-flyout

Last synced: about 2 months ago
JSON representation

Fly out some box when action occurs

Awesome Lists containing this project

README

          

jQuery Flyout
=============

Flyout is a piece of content that fly out of a parent when some action occurs,
for example, when box is clicked.

Installation
------------

The recommended installation method is a [bower](http://bower.io):

```sh
bower install --save jquery-flyout
```

Usage
-----

```html

.has-flyout .flyout {
display: none;
}
.has-flyout.is-opened .flyout {
display: block;
}


Show flyout

Hello × close

(function() {
$('.has-flyout').flyout({trigger: {open: '.js-flyout-open',
close: '.js-flyout-close'}});
}());

```

License
-------

Licensed under the [MIT license](http://mit-license.org/vitalk).