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