#160: Wrong scaling of projector live view in IE8/Konqueror

IE8 has a scaling bug - check the browser version and resize the iframe 4x bigger if needed..
This commit is contained in:
René Köcher 2012-04-28 09:38:31 +02:00
parent 4f98c0c571
commit 842e8de065
2 changed files with 6 additions and 1 deletions

View File

@ -86,7 +86,6 @@
/* iframe */
#iframe {
-ms-zoom: 0.25;
-moz-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
-o-transform-origin: 0 0;

View File

@ -53,6 +53,12 @@
//$( ".column" ).disableSelection();
$( "document" ).ready(function(){
if ($.browser.msie) {
if ($.browser.version >= 8.0 && $.browser.version < 9.0)
{
/* scaling bug in IE8.. iframe has to be 4 times bigger */
$( "#iframe" ).css('width', 1024 * 4);
$( "#iframe" ).css('height', 768 * 4);
}
$( "#iframe" ).css('zoom', '0.25');
}