Masks the browser's address bar and menu bar to make the system look more formal

Source: Internet
Author: User

2. After the user login authentication, enter the system, the effect is to screen the browser's address bar and menu bar, so that the system will look more formal

How to implement: After using login authentication, a new form pops up, but the size and position of the pop-up form are set, preferably covering 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> ");

There is a difference between the two effects:
Width= ' +screen.width+ ', height= ' +screen.height+ ', Top=0,left=0,minmizebutton=yes,maxmizebutton=yes

And ' fullscreen, the full screen will be completely blocked, but in fact the user is generally very accustomed to use the maximum 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.