Make a link open in another tab with javascript [duplicate]
Possible Duplicate:
How can I open a new browser tab from within JavaScript?
Is there any way to make a link open in a 开发者_运维问答another window without using target=blank, ? I am pulling in feeds in my site, and I want those feed links to open in another tab. Is there a javascript function that can do this.
Use:
window.open('page.html','_newtab');
try this one
<script>
function load() {
var load = window.open('http://www.domain.com','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
</script>
精彩评论