target=”_blank” が使えない。
2008/2/18 月曜日
xhtml1.0 strict では、<a>タグに target属性を使うことができなくなっている…。さてどう解決したろか…。すでに方法はたくさんありますが、やはりJavascriptを使うのが一般的なのかしら。
<a href="example.html" onclick="window.open( this.href, 'mywindow6', 'width=400, height=300, menubar=no, toolbar=no, scrollbars=yes'); return false;">テスト</a>
トラックバック URL :