views:

35

answers:

1

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 :/

+4  A: 

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).

grahamparks
It must be a HTML modal box not a popup window. (Because of style and stuff...). Maybe there are some CSS tricks that could make it possible ?
Jerosim Ee
There is no was CSS can target anything outside of the window.
Kyle Sevenoaks
Not cool, mate.
Jerosim Ee