开发者

Make a link open in another tab with javascript [duplicate]

This question already has answers here: Closed 11 years ago.

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜