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.
How to open popup when a button is clicked? Is not included in the manual. I add $('.pop1').bPopup();` in js file, so what?
in my .js file i added
$('.pop1').bPopup();
here is the button and the content that must be opened in popup at click
thanks