In js, window. open opens a new page, jswindow. open
<! DOCTYPE html PUBLIC "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd">
Teach a js Syntax: windowopen () only opens a new page in IE. How can I open a new window in IE?
Javascript cannot control browser behavior, unless you can call the tab plug-in interface.
Another way is to modify the IE settings and change the pop-up window behavior to open the tab page:
After IE8 is enabled, select "Tools"-"internet Options" in the upper-right corner of the toolbar to go to the settings page.
In the pop-up property settings window, click "Settings" on the "tab ", then, in the section "when a new window is encountered", select "always open a pop-up window in the new tab ", in the section "open links from other programs located below", select "New tabs in the current window", and click "OK ".
[JS] How does the windowopen function open a new window in the original browser?
Function reg () {window. open ("register. php", "newwindow", "fullscreen = yes ");}
Or
Function reg () {window. open ("register. php", "fullscreen = yes ");}