怎样作到点一个连接创建一个新窗口? <a href="*.jsp" target=_blank>test</a> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 倒是创建,不是打开例如:window.open("1.jpg","popup","top=0,left=0,width=500,height=500") <script language="javascript">function test(){ window.open("1.jpg","popup","top=0,left=0,width=500,height=500");}</script><a href="*.jsp" onclick="javascript:test()"> <a href="javascript:open('about:blank','','?')">open</a> <script language="javascript">function test(){ window.open("1.jpg","popup","top=0,left=0,width=500,height=500");}</script><a href="javascript:test();">打开</a> <script>function checkurl(url){window.open(url,newwindow,"width=400;height=300")return false;}</script><a href="u.htm" onclick="return(checkurl(this.href))">mmmm</a> window.open("1.jpg",'',"top=0,left=0,width=500,height=500") 百度地图API使用,怎样将中心点设定的一个行政区? 博文视点JavaScript图书推荐 MzTreeView10 权限控制 急!!!! js 计时器 暂停问题 window.location.hash改变能否触发事件 ?怎么写? 急! 在线等!!!!1 ▲▲▲高手帮忙IE转火狐 如何在一个TextBox中绑定多个事件? 文本框粘贴问题 input回车,跳转到指定input 求助,如何用循环将jsp的二维数组赋给js的二维数组 怎样做到点击按钮,使按钮所在的页面有以下的属性? 如何可以锁定IE地址栏里面的内容??
例如:window.open("1.jpg","popup","top=0,left=0,width=500,height=500")
</script>
<a href="*.jsp" onclick="javascript:test()">
function test(){ window.open("1.jpg","popup","top=0,left=0,width=500,height=500");}
</script>
<a href="javascript:test();">打开</a>
function checkurl(url)
{window.open(url,newwindow,"width=400;height=300")
return false;
}
</script>
<a href="u.htm" onclick="return(checkurl(this.href))">mmmm</a>