Search code examples
htmlwebhyperlinkpopup

How can I show users a website without having to re-direct them?


Is there a way where someone clicks on a link, it loads up a pop up thats a simple website, without having to re-direct the user to another tab or app?


Solution

  • You can put the site in a popup:

    <button onclick="window.open('https://YOURSITEHERE.com','popup','width=600,height=600')">Click Me</button>