NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on September 19, 2018, 10:14:21 PM
-
Hi Bruce
I'll try again.
I would like to center my popups vertically on the "screen".
It might bring some questions on the reference: screen / site, etc. What's normal practice?
Do you have a suggestion?
Regards Niels
-
Hallo Niels!
Did you try "Window Top Offset" with 50% ?
It should work.
Robert
-
Hi Robert
I have tried that. I think the templates handle this as a pure pixel thing.
Regards Niels
-
>> I would like to center my popups vertically on the "screen".
I don't think you can.
It's been a while since I last looked at this - so my memory may be faulty, but as I recall popup dialogs have a fixed width, but variable height. Since the height is not known, it's not possible to "center" it, at least not as it opens.
It might be possible to centre it after it opens using javascript, but as far as I know that's not built-in.
cheers
Bruce
-
Hi Bruce
Thanks. I'll see if I can find a solution somewhere else.
Regards Niels