How to open a new window when clicking a hyperlink?

后端 未结 6 1400
青春惊慌失措
青春惊慌失措 2020-12-18 13:37

I would like to open a new window with height of 600px and width of 200px, after clicking on a hyperlink.

How can I do that in HTML/Javascript?

Do I use some

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-18 13:58

    winRef = window.open( URL, name [ , features [, replace ] ] )
    

    source: http://www.javascripter.net/faq/openinga.htm

提交回复
热议问题