jQuery 属性を追加して別ウインドウを開く
//rel="external" 属性を追加した場合のみ別ウインドウにする $(document).ready(function() { $("a[rel='external']").click(function(){ this.target = "_blank"; }); }); //以下のようなリンクを追加します。 <a href="http://google.com" rel="external">リンク</a>