This time I will show you how to use a hyperlink to open a new window and control the window properties in HTML. What are the things to note when using a hyperlink to open a new window and control the window properties in HTML? The following is a practical case, let’s take a look.
1. The size of the window opened by the html hyperlinkaaaaaaaaaaaaaaa
$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 "$host_name "; //主机名 点击可查看选中主机的具体信息
onclick="javascript:window.open('12.php','','height=500,width=600,top=300,left=300,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')"
host_graphics.php?host_id=$host_id&host_address=$host_address
3. Example:
ThD aaaaaaaaaaaaaaa
How to use Meta tag code to make 360 Browser use speed mode to open web pages by default
The above is the detailed content of How to use hyperlinks to open new windows and control window properties in html. For more information, please follow other related articles on the PHP Chinese website!