I am trying get a div that I have hidden to show in the middle if the screen and not the page. I want it to act like a popup modal window which I will have settings in.
The trouble is I can’t get it in the middle of the screen. So if the user has scrolled down to the bottom of the page then the popup appears in the middle which they cannot see.
The popup is for a mobile webpage. Does anyone know how I would do this?
Take a looking at this working demo which is one of my answer to some other SO question.