Home > Web Front-end > JS Tutorial > Whether to display the implementation code of the address bar in the javascript pop-up window_javascript skills

Whether to display the implementation code of the address bar in the javascript pop-up window_javascript skills

WBOY
Release: 2016-05-16 18:07:39
Original
947 people have browsed it
Question:
After popping up the page in IE 7, the address bar is always displayed, and this address bar is not expected to appear in the program, and it also affects the appearance. In IE6, the address bar will not appear.
Solution:
Tools-->Internet Options-->Security-->Custom Level-->Allow websites to open windows without address bar or status bar-->Allow
After setting IE7 in this way, the address bar will not appear in the pop-up window. IE7 and subsequent versions cannot open windows without an address bar by default for security reasons.
Javascript's window.open can also be used to pop up a new page, and by setting parameters, you can remove the menu bar, toolbar, scroll bar, address bar, and status bar, and set the position and size of the pop-up window. The code is as follows:



Parameter explanation:
End of js script However, with the same settings, ie7 under some systems will still display the status bar and address bar, and some will It is no longer displayed, so if it doesn't work, you need to set it manually through the Internet options.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template