Posted By

cpres on 08/24/11


Tagged

popup jquery


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jillella
spee66


jQuery Popup Setup


 / Published in: jQuery
 

Initializing a popup

  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  

You need to login to post a comment.