In fact, the code is very simple: window.open ('page.html')
Window.open ('page.html') is used to control the pop-up of the new window page.html. If page.html is not in the same path as the main window, the path should be written in front, absolute path (http://) and relative the path (../) can be. You can use single quotes and double quotes, just don't mix them.
This piece of code can be added to any location in the HTML, the earlier the implementation, especially the page code is long, and want to make the page pop up as early as possible.
Comment list ( 0 )