30
rated 0 times
[
34]
[
4]
/ answers: 1 / hits: 26011
/ 14 Years ago, sun, february 20, 2011, 12:00:00
This should be a simple question, but I can't seem to figure it out. I made a popup using jquery, and I want it positioned in the center of the page. No matter how the site is adjusted and the resolution. Right now I'm just positioning it absolutely with CSS but the problem with that is that if you move the page around it doesn't move the overlay and it depends on how much content is on the page. Is there a way to position it with jquery so it will also be in the center of the window?
Thanks!
More From » jquery