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.
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 you use a close button with class "b-close' then the scrollbar is restored.
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 you use a close button with class "b-close' then the scrollbar is restored.
thanks.