Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gristmill/jquery-popbox

jQuery PopBox UI Element
https://github.com/gristmill/jquery-popbox

Last synced: about 1 month ago
JSON representation

jQuery PopBox UI Element

Awesome Lists containing this project

README

        

# jQuery PopBox

jQuery PopBox is a simple balloon UI element inspired by 37Signals Highrise CRM.

See it in action here: http://gristmill.github.com/jquery-popbox/example.html

# Usage
jQuery PopBox requires a specific HTML structure in order to work. There is also a small stylesheet that can be used. jQuery is a dependency.

```html



```

The HTML structure looks like this.
```html


Click Here!




Content in PopBox goes here :)

close




```

Invoke the plugin by calling it on a selector like normal.

```html

$(document).ready(function(){
$('.popbox').popbox();
});

```

If there are any CSS class name conflicts, they can be overridden.

```html

$(document).ready(function(){
$('.popbox').popbox({
'open' : '.open',
'box' : '.box',
'arrow' : '.arrow',
'arrow_border' : '.arrow_border',
'close' : '.close'
});
});

```

## Screenshot
![jQuery PopBox Screenshot](https://github.com/gristmill/jquery-popbox/raw/master/screenshot.png)

## Credits

jQuery PopBox developed by [Sean Behan](http://twitter.com/_sbehan) at [Gristmill.io](http://gristmill.io)

It is inspired by the balloon UI element found in 37Signals Highrise CRM.

## License

MIT license:

http://www.opensource.org/licenses/MIT