Jerosim Ee
Jerosim Ee

Reputation: 1

How can I position a modal box out of the browser in HTML?

I want to position a modal box (position: absolute) out of browser, but I can't get it work.

It would be cool to position modal box on secondary monitor (if user has one, of course).

Hey, this one keeps me frustrating :/

Upvotes: 0

Views: 279

Answers (1)

grahamparks
grahamparks

Reputation: 16296

You can't do this. Just about the only way to display content outside of the browser window area is with the Javascript window.open() method, though note that this method will probably be blocked by the user's popup blocker unless it's triggered by a user action (like clicking a link).

Upvotes: 5

Related Questions