/ Published in: jQuery
Initializing a popup
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery(document).ready(function($){ //LOADING POPUP //Click the button event! $(".retail-button").click(function(){ var popup = jQuery(this).next("div.popupFAQ"); //centering with css centerPopup(popup); //load popup loadPopup(popup); }); });