- See more at: http://www.bloggerhow.com/blogger/how-to-add-a-pop-up-window-using-css3-and-jquery-in-blogger-to-display-source-code-pictures/#sthash.NL2l9JhL.dpuf // Place all Javascript code here $(document).ready(function(){ $("#showPopup").click(function() { $("div#Popup").addClass("show"); return false; }); $("#closePopup").click(function() { $("div#Popup").removeClass("show"); return false; }); $(".trigger").click(function(){ $(".panel").toggle("fast"); $(this).toggleClass("active"); return false; }); });