Project:Popups API (Ajax Dialogs)
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

If you're using popups with a fixed width theme, Internet Explorer 6 and 7 will display the overlay with the left of your container element. For example:

<body>
<div id="popups-overlay"></div>
<div id="fixed-container"></div>
</body>

#popups-overlay's left will be wherever the container is calculated from the width: auto; declaration.

The attached patch fixes this issue by detecting IE 6/7 and manually setting the left to 0. IE8 fixed this bug, so it's not needed there.

Enjoy!

AttachmentSize
fix_overlay_left_ie.patch786 bytes
IE7 Popup Left bug before.png484.04 KB
IE7 Popup Left bug after.png481.61 KB

Comments

#1

Status:needs review» reviewed & tested by the community

Works for me!

nobody click here