【发布时间】:2012-05-02 11:36:41
【问题描述】:
我们是否有任何其他选项可以在另一个窗口中打开 url,例如 jquery 对话框 ui 或其他具有相同功能的东西,例如 PHP 的标头
header('Location: http://www.example.com/');
【问题讨论】:
我们是否有任何其他选项可以在另一个窗口中打开 url,例如 jquery 对话框 ui 或其他具有相同功能的东西,例如 PHP 的标头
header('Location: http://www.example.com/');
【问题讨论】:
你可以使用javascript打开方法window.open(URL)
例如window.open('http://stackoverflow.com','','width=400,height=600')
【讨论】:
有点难以理解你在问什么,但这能满足你的需要吗?
<a href="http://www.stackoverflow.com/" target="_blank">Open SO in a new window.</a>
【讨论】: