#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:
parent
4f98c0c571
commit
842e8de065
@ -86,7 +86,6 @@
|
|||||||
|
|
||||||
/* iframe */
|
/* iframe */
|
||||||
#iframe {
|
#iframe {
|
||||||
-ms-zoom: 0.25;
|
|
||||||
-moz-transform-origin: 0 0;
|
-moz-transform-origin: 0 0;
|
||||||
-webkit-transform-origin: 0 0;
|
-webkit-transform-origin: 0 0;
|
||||||
-o-transform-origin: 0 0;
|
-o-transform-origin: 0 0;
|
||||||
|
@ -53,6 +53,12 @@
|
|||||||
//$( ".column" ).disableSelection();
|
//$( ".column" ).disableSelection();
|
||||||
$( "document" ).ready(function(){
|
$( "document" ).ready(function(){
|
||||||
if ($.browser.msie) {
|
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');
|
$( "#iframe" ).css('zoom', '0.25');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user