Shield the address bar and menu bar of the browser to make the system look more formal.

Source: Internet
Author: User

2.After a user logs on to the system for verification, the system will be blocked from the address bar and menu bar of the browser. This will make the system look more formal.

Implementation Method: After logon verification is used, a new form is displayed, but the size and position of the pop-up form must be set. It is best to overwrite the entire window.

1. response. write ("<SCRIPT> window. open ('index. aspx ', '', 'width =' + screen. width + ', Height =' + screen. height + ', Top = 0, Left = 0, minmizebutton = Yes, maxmizebutton = Yes, toolbar = No, location = No, status = No, menubar = No, scrollbars = Yes, resizable = Yes '); window. opener = NULL; window. close (); </SCRIPT> ");

2. response. write ("<SCRIPT> window. open ('index. aspx ', '', 'fullscreen, toolbar = No, location = No, status = No, menubar = No, scrollbars = Yes, resizable = Yes'); window. opener = NULL; window. close (); </SCRIPT> ");

 

 

The two effects are slightly different. The difference is:
Width = '+ screen. Width +', Height = '+ screen. height +', Top = 0, Left = 0, minmizebutton = Yes, maxmizebutton = Yes

Unlike 'fullscreen, the full screen will be completely shielded, but in fact users are generally used to using the max-small button

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.