1、 html 超 链接 打开 的窗口大小
复制代码
<a href=”#”>aaaaaaaaaaaaaaa</a>
复制代码
$openNew=”onclick=”.'”‘.”javascript:window.open(‘host_graphics.php?host_id=$host_id&host_address=$host_address’,”,’height=500,width=600,top=300,left=300,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no’)”.'”‘;
echo “<td><a href=#?host_id=$host_id&host_address=$host_address title=’点击查看主机系统监控图’ $openNew> $host_name </a></td>”; //主机名 点击可查看选中主机的具体信息
复制代码
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>ThD</title>
</head>
<body>
</body>
<a href=”#”>aaaaaaaaaaaaaaa</a>
</html>