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
- Host: GitHub
- URL: https://github.com/vitalk/jquery-flyout
- Owner: vitalk
- Created: 2015-05-30T14:15:29.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T15:44:47.000Z (over 10 years ago)
- Last Synced: 2026-02-27T08:29:06.023Z (5 months ago)
- Language: JavaScript
- Homepage: http://jsbin.com/xavomu
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).