click-or-dbclick open new window or not
<a href="#" onclick="window.open('http://google.com/', '_blank')">Go_blank</a>;
<a href="#" onclick="window.open('http://google.com/', '_self')">Go_Self</a>;
<a href="#" ondblclick="window.open('http://google.com/', '_blank')">dblclick Go_blank</a>;
<a href="#" ondblclick="window.open('http://google.com/', '_self')">dblclick Go_Self</a>;
沒有留言:
張貼留言