Whether to display the implementation code in the address bar in the javascript pop-up window _ javascript skills

Source: Internet
Author: User
In the program, click a "Delivery reminder" link to bring up another window, using the javascript openUrl () method. Question:
After the page pops up in IE 7, the address bar is always displayed, which is not expected to appear in the program, but also affects the appearance. In IE6, the address bar will not appear.
Solution:
Tools --> Internet Options --> Security --> Custom Level --> allow a website to open a window without an address bar or status bar --> allow
After IE7 is set, the address bar will not appear in the pop-up window. By default, IE7 and later versions do not allow you to open a window without the address bar. This is for the sake of security.
The window. open in javascript can also be used to pop up a new page. By setting parameters, you can remove the menu bar, toolbar, scroll bar, address bar, and status bar. You can set the position of the pop-up window and change the size. The Code is as follows:
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.