Skip to content

Commit

Permalink
Added popupbox
Browse files Browse the repository at this point in the history
  • Loading branch information
glix committed Mar 14, 2014
1 parent a66cd8e commit f190329
Show file tree
Hide file tree
Showing 4 changed files with 425 additions and 0 deletions.
34 changes: 34 additions & 0 deletions bpopup_popupbox/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## bPopup - If you can't get it up - use bPopup

### DEMO: ###
http://dinbror.dk/bpopup

### API: ###
http://dinbror.dk/blog/bpopup

### DESCRIPTION: ###
bPopup is a lightweight jQuery modal popup plugin (only 1.34KB gzipped). It doesn't create or style your popup but provides you with all the logic like centering, modal overlay, events and more. It gives you a lot of opportunities to customize so it will fit your needs.

## CHANGELOG
### v 0.9.4 ###
* Added: New transitions, `slideUp` and `slideBack`.
* Added: `transitionClose`, gives you the possibility to use a different transition on close.
* Added: `autoClose`, thanks to [Leonidaz](https://github.com/Leonidaz) for the suggestion.
* Added: `iframeAttr`, so you now can control what attributes the iframe should have (and enable the scrollbar as many of you wants).
* Removed: The minimum 20px gap at the top. It's 0 now.

### v 0.9.3 ###
* Transition fix: Unbinding events earlier on close to prevent scroll/resize events triggered when closing the popup and using the "slideIn" or "slideDown" transition.
* Transition fix: The public close function didn't close the popup when using the "slideIn" or "slideDown" transition.
* Transition fix: Exit transition for "slideIn" and "slideDown" will now always slide graceful no matter how much you have scrolled.
* Transition fix: Fixed odd behavior when using "slideIn" or "slideDown" with ajax calls.

### v 0.9.2 ###
* Percentage fix: Resize center fix when using percentage for width/height.
* Percentage fix: Recenter fix when using percentage for width/height in ajax(loadUrl) calls.
* Improvement: Adding 'debounce' to resize event.

### v 0.9.1 ###
* Legacy fallback: In version 0.9.0 I changed the default close class from bClose to b-close. To avoid issues when you update to latest version I'm also binding a close event on the old default close class, bModal.
* Bugfix: When moving an iframe through the DOM, IE9 will excecute the code in the iframe as many times as moves you make. Each time (but the last one) will return udefined on Object, String, Array etc.
* Bugfix: When appending is false no overlay was created.
34 changes: 34 additions & 0 deletions bpopup_popupbox/bpopup.jquery.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "bpopup",
"title": "bPopup",
"description": "bPopup is a lightweight jQuery modal popup plugin (only 1.49KB gzipped). It doesn't create or style your popup but provides you with all the logic like centering, modal overlay, events and more. It gives you a lot of opportunities to customize so it will fit your needs.",
"keywords": [
"popup",
"popin",
"modal",
"window",
"options",
"ui",
"fade",
"transition",
"animation",
"animate",
"jquery"
],
"version": "0.9.4",
"author": {
"name": "Bjørn Klinggaard",
"url": "http://dinbror.dk/"
},
"licenses": [
{
"type": "DWIWYWBPVMS",
"url": "http://dinbror.dk/blog/bpopup"
}
],
"homepage": "http://dinbror.dk/blog/bpopup",
"demo": "http://dinbror.dk/bpopup",
"dependencies": {
"jquery": ">=1.4.3"
}
}
Loading

0 comments on commit f190329

Please sign in to comment.