Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- <p>Click the button t o open a new browser window.</p>
- <button onclick="myFunction()">Try it</button>
- <script>
- function myFunction() {
- window.open("https://www.w3schools.com",'window','toolbar=no, menubar=no, resizable=yes');
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment