Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use hyperlinks to open new windows and control window properties in html

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to use hyperlinks to open new windows and control window properties in html". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use hyperlinks to open new windows and control window properties in html.

1. The size of the window opened by the HTML hyperlink aaaaaaaaaaaaaaa

2. If there are too many quotation marks in php, which is difficult to remove, you can use the following ways:

$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"; / / Click the host name to view the specific information of the selected host

Hint: onclick= "_ javascript:window.open" ('12. Phpads, paramagrams, parcels, widthpieces, parcels, widthpieces, waddies, etc.)

The file can be followed by the value of the variable, such as

Host_graphics.php?host_id=$host_id&host_address=$host_address

In this way, the value can be obtained with GET in a new pop-up window.

3. Examples:

ThD

Aaaaaaaaaaaaaaa

At this point, I believe you have a deeper understanding of "how to open a new window and control window properties with hyperlinks in html". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report