Centering large modal windows

Re: www.vilverset.com/lynn2.html

Try faking 1024 screen width by bringing the right edge of your browser to roughly the center of the blurred figure standing in the background.

Click on a small image (such as the fuschia/blue "cc poster (B)", 4th on bottom row). The image will appear centered.

Exit modal and now click either of the FOC thumbs on the 2nd row (3rd & 4th). The content being loaded isn't centered. As a result, scrollbars galore appear everywhere - even though the content should normally fit nicely in the page.

Exit modal and click the same link again. It moved a bit, didn't it? Repeat several times... the modal window gets closer and closer to being centered each time. It's almost as if all it wants it a few more milliseconds to center itself, milliseconds it doesn't have. Eventually, the content will be centered and those scrollbars will be gone. And once it's centered, it stays centered... until you click on another small image, and return to the big one. Then you have to start the process over again.

Anyone have any idea why this is happening? I tried it without the div in the page being loaded (ie, just putting the 2 images) and it has the same bug... only that it wraps the images instead of putting scrollbars (they display one on top of the other even though there is enough width to the page to accomodate them side by side).

:-S

Posted May 4th, 2007 at 10:26am by jyeager

Anyone..?

sheepish look

Posted May 5th, 2007 at 9:17am by jyeager

I think Ryan knows about this. I don't have a time to debug the issue now, but we'll try to fix it as soon as possible.

Posted May 5th, 2007 at 10:56pm by kangax

Thanks. Looking forward to the fix.

Posted May 8th, 2007 at 1:55pm by jyeager

Soooooooo... ummmm.. er.. ah.. about that fix..! =)

Posted May 9th, 2007 at 8:57am by jyeager

Has this problem been fixed? It's been an entire month. On May 5th Kangax said Ryan was aware of the problem, and it would be fixed ASAP.

I've since been away on vacation.

Posted May 31st, 2007 at 9:24am by jyeager

It will soon be two months since this bug was reported and acknowledged, but not fixed. :-(

Posted June 16th, 2007 at 10:53am by jyeager

Login or Register to Post