/ Published in: jQuery

Here is a nice snippet to open links in pop-up windows. Just add the popup css class to your link to make it work.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery('a.popup').live('click', function(){ newwindow=window.open($(this).attr('href'),'','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; });
Comments
