都是用js弹窗实现的,下面是比较常见的两种方法,一种直接把js写在链接里,另一种写一个弹窗函数,然后在链接里调用函数
[runcode]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
<!--
function openWin(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<p><a href="javascript:window.open('http://www.jcwcn.com','newwindow','height=400,width=400')">弹窗</a>
<p> </p>
<p><a href="#" onclick="openWin('http://www.jcwcn.com','newwindow','width=400,height=400')">弹窗</a></p>
</body>
</html>[/runcode]