Yabox.js

Yet another lightbox clone. Very light one this time. (MIT)

View the Project on GitHub bebraw/yabox.js

yabox.js makes it easy to create one of those infamous popovers. It sticks to the view center (fixed there). It is light and somewhat extensible by design. Supports Zepto. In case you want to use animations with Zepto, include fx_methods to your project.

Installation

Add prepackaged dist/jquery.yabox.js to your page.

Usage

See source!

Polaroids

cow

Cow

grove

Grove

lake

Lake

sunset

Sunset

trientalis

Trientalis Europaea

Custom Content

Click me!

X

Some Title

trientalis

Some content and then some

This opens another yabox.

Just some content

Empty Selector

This yabox is bound indirectly

License

yabox.js is available under MIT. See LICENSE for more details.