地下城与勇士徽章选择:关于弹出窗口

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/23 17:03:04
为什么点击(弹出)链接时,弹出的窗口还是(再弹出)链接的地址啊

如果简单的说不清,请在我QQ上留言谢谢了-_-!! QQ:71621902
原代码如下:

<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 3</title>
</head>
<body>
<table cellpadding="0" cellspacing="0" width="591" height="131">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" height="42">
<script LANGUAGE="JavaScript">
<!--
function openwin() {
window.open ("http://****/弹出.htm", "newwindow", "height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
}
//-->
</script>
<a href="#" onclick="openwin()">弹出</a>
</td>
</tr>

<tr>
<td valign="top" height="44" width="160">
<script LANGUAGE="JavaScript">
<!--
function openwin() {
window.open ("http://****/再弹出.htm", "newwindow", "height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
}
//-->
</script>
<a href="#" onclick="openwin()">再弹出</a></td>
</tr>
</table>
</body>
</html>
<--我是个初学者,正在做一个个人主页,主页上所有链接都是在同一页面上实现的,但在播放MP3时我要它在弹出第二个窗口上播放(跟百度里的MP3播放一样)当点击链接..链接2..链接3..时,主页面不变,只改变链接地址,里面的代码东改西改,实在没法了...求救555-->