jQuery Popup Setup


/ Published in: jQuery
Save to your folder(s)

Initializing a popup


Copy this code and paste it in your HTML
  1. jQuery(document).ready(function($){
  2. //LOADING POPUP
  3. //Click the button event!
  4. $(".retail-button").click(function(){
  5.  
  6. var popup = jQuery(this).next("div.popupFAQ");
  7. //centering with css
  8. centerPopup(popup);
  9.  
  10. //load popup
  11. loadPopup(popup);
  12. });
  13. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.