Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. Use open () to open a window and close () to close the window: let myWindow; function openWin () {. myWindow = window.open("", "myWindow", "width=200, height=100"); } function closeWin () {. myWindow.close(); }

    • JS Window

      window.open() - open a new window. window.close() - close...

  2. The Window Object The open() and close() Methods Open "myWindow" Close "myWindow"

  3. window.open() - open a new window. window.close() - close the current window. window.moveTo() - move the current window. window.resizeTo() - resize the current window. Previous Next .

  4. let myWindow; function openWin() {. myWindow = window.open("", "", "width=200,height=100"); } function closeWin() {. myWindow.close(); } </script>. </body>.

  5. The Window Object The open() and close() Method Open w3schools.com in a new window Close the new window

  6. 26 kwi 2014 · Most browsers prevent you from closing windows with javascript that were not opened with window.open("https://example_url.com") however, it is still possible to close the current window using the following command:

  7. Open "www.w3schools.com" in a new window, and use close() to close the window: function openWin() { myWindow = window.open("http://www.w3schools.com", "_blank", "width=200, height=100");

  1. Ludzie szukają również