mpavlovic89
mpavlovic89

Reputation: 769

Open HTML file in popup window by default

I have an html page (quiz.html) which I want to have a shortcut for on desktop. I want, when users click on the shortcut icon the file opens in popup window with no adress bar, toolbar etc (default by browser).

The code for that is window.open("http://www.w3schools.com","width=200,height=100",'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');

But it works only on buttons. How can I set it up to open from desktop like I want?

Upvotes: 0

Views: 2819

Answers (1)

Related Questions