bpopup
bpopup copied to clipboard
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 gi...
Using the loadUrl option, there seems to be a bug that changes the size when pop-up pops up again. When the pop-up is closed, csss such as **width: 'auto', height:...
I have not yet had time to examine this issue and for the time being I'm retreating to 3.3.1. However, jQuery is now showing 3.4.1 as the current stable release....
When I use loadCallback event, I notice that it is fired before loading iframe. Maybe it will be better to use something like this: h.on('load', function(){k(a.loadCallback);}); instead of directly call...
If you open a popup with scrollbar:false and then call the public Close() method, the scrollbar is not reset i.e. the "overflow" style property on is not removed, but, if...
I had a problem with bpopup because my click event only opened a modal on the first time. Here is the problem: I'm using jquery [next()](https://api.jquery.com/next/) method to select the...
When I open the popup in the first click is not centralize, after the popup is in the center. How can I resolve it?
Added afterOpen and beforeClose callbacks. afterOpen callback replaces callback on constructor.
`var url = rainbow.current.model.url + "/" + row[idName] + '?_mode=inline&bust=' + (new Date()).getTime(); var a = $('点击查看'); $img = $('').attr('max-width','450px').attr('max-height','450px'); a.on('click',function(e){ e.preventDefault(); $img.bPopup({ content:'image', loadUrl:url, zIndex: 10000, modalClose: true });...
The Website Address (by the side of the description) is wrong [[http://dinbror.dk/bPopup](http://dinbror.dk/bPopup)]. I think it was suppose to be with lowercase 'p' [[http://dinbror.dk/bpopup]](http://dinbror.dk/bpopup).