| Author |
Message |
|
anrry
Joined: Tue Sep 28, 2010 9:09 am Posts: 1
|
 zoom bug on ie
hello,
there is a zoom bug on ie 6, 7, 8. you can see it in the screenshot I joined. when you zoom the page, the background-image does not. I'd like to know if there is a trick or a coming patch for this bug?
thanks
ps: PIE is great and wonderfull, thank you a lot for it
|
| Tue Sep 28, 2010 9:15 am |
|
 |
|
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1396
|
 Re: zoom bug on ie
Thanks for reporting this issue, I've opened ticket http://github.com/lojjic/PIE/issues/issue/79 to track it.
|
| Tue Sep 28, 2010 10:21 am |
|
 |
|
Dave77
Joined: Wed Oct 06, 2010 2:38 am Posts: 10
|
 Re: zoom bug on ie
Hi, Is there any update on this issue, I'm using pie quite heavily but resizing breaks the layout totally and makes the site unreadable. Is there a way to turn off PIE when zoom triggers maybe? Edit: i have this so far which remove the behavior if zoom is not 100 needs: http://mlntn.com/2008/12/11/javascript- ... nt-plugin/Code: <!--[if IE]> <script type="text/javascript"> $(document).ready(function() { jQuery().zoom(function(){ window.location.reload(); }); var rect = document.body.getBoundingClientRect(); var zoomLevel = Math.round((rect.right - rect.left) / document.body.clientWidth * 100); if (zoomLevel != 100) { $("*").css("behavior", "none"); } }); </script> <![endif]-->
|
| Wed Oct 06, 2010 2:41 am |
|
 |
|
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1396
|
 Re: zoom bug on ie
@Dave77: Do you have an example URL showing the problems you're seeing? The original post in this topic was only about the background image not scaling, but otherwise shows the rendering lining up correctly. If you're seeing problems beyond that then that's a separate issue and I'll need more information. A URL, screenshots, code snippets, and information like what IE version(s) show the issues would be helpful.
|
| Wed Oct 06, 2010 11:26 pm |
|
 |
|
Dave77
Joined: Wed Oct 06, 2010 2:38 am Posts: 10
|
 Re: zoom bug on ie
The sites not live yet so here's some images, normal and zoomed 125%, I'm using IE7 Attachment:
before.jpg [214.65 KiB]
Downloaded 668 times
Attachment:
2.gif [35.58 KiB]
Downloaded 668 times
|
| Thu Oct 07, 2010 1:55 am |
|
 |
|
adammessinger
Joined: Thu Oct 14, 2010 11:29 am Posts: 3 Location: Kansas, USA
|
 Re: zoom bug on ie
I also ran into this problem. My thanks to Dave77 for posting a work-around. 
|
| Thu Oct 14, 2010 9:56 pm |
|
 |
|
mrdaniellewis
Joined: Wed Aug 25, 2010 6:34 am Posts: 2
|
 Re: zoom bug on ie
I ran into the same issue.
For me anyway, it only seems to affect IE7 and only occurs if the element contains floats, or has a margin of auto applied.
|
| Mon Oct 18, 2010 4:42 am |
|
 |
|
adammessinger
Joined: Thu Oct 14, 2010 11:29 am Posts: 3 Location: Kansas, USA
|
 Re: zoom bug on ie
Clarification: I saw the same problem with VML element positions that Dave77 shows in his screen shots, not the background image issue from the OP. I only encountered this behavior in IE7 -- 6 has no zoom and 8 kept the VML in place behind the PIE-targeted element.
|
| Mon Oct 18, 2010 10:12 am |
|
|