ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Popups in pages with scroll
Title:
B
I
{code}
?
Hi, If my page has a vertical scroll bar, the popup appears in the middle of the scrolled screen. The absolute height of the popup (i.e) "top property" should be calculated without taking into account the scroll. How can I fix this? Thanks, Shachar
Save Changes
Cancel
shachar albilia
asked at 12 Jun 2014
popups (default jQueryUI) have a position:fixed (in AwesomeMvc.css ), so they appear in the middle of the window regardless of the scroll, for example this page http://demo.aspnetawesome.com on some screens (or you can make the window height smaller) there is a vertical scrollbar but when you click on the lookup the popup will always appear in the center bootstrap and inline popups act differently
at 12 Jun 2014
Omu
Is there any way to force Form popups to act like Lookup popup?
at 12 Jun 2014
shachar albilia
they all act the same, the lookup popup was an example, you can try other popups in the demo
at 12 Jun 2014
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK