Position of popup
-
I have created one popup which finally has at a screen res of 360 (width)x640 (height) the size of 298 (width) x 556 (height).
The width by itself is very fine. My problem is that the position of the popup. When I open it its located with top: 132px. The problem is that it doesn’t fit on the screen totally cause the total height is 556+132=698 px, i.e. my last three lines are missing. But in the last three lines is the contact info and therefore I would highly appreciate if it would be displayed.
I know there is the location parameter which could be changed. Which is nice but influences as well regular screens.
Is there a chance to
– either do some calculation if the total frame height doesn’t fit totally on the screen to reposition it automatically with top: 0px
– OR to have media query dependend parameter where the PopUp will be finally displayed?
- The topic ‘Position of popup’ is closed to new replies.