fixes for IE9, may change

This commit is contained in:
q
2012-07-05 22:07:19 +03:00
parent 49e10772b2
commit f59f845915
2 changed files with 6 additions and 2 deletions

View File

@@ -994,6 +994,8 @@ function showbigimage(i) {
'<img id="imagesingle" src="'+mediumstr+'"></a></div>'); '<img id="imagesingle" src="'+mediumstr+'"></a></div>');
$('#imagesingle').css('max-width',width); $('#imagesingle').css('max-width',width);
$('#imagesingle').css('max-height',height); $('#imagesingle').css('max-height',height);
$('#imagesingle').css('width','auto');
$('#imagesingle').css('height',height);
} }
$('#imagecontainer').css('height',height); $('#imagecontainer').css('height',height);
@@ -1005,7 +1007,7 @@ function showbigimage(i) {
var options = { var options = {
zoomType: 'innerzoom', zoomType: 'innerzoom',
preloadImages: false, preloadImages: false,
alwaysOn:true, alwaysOn:true
}; };
$('#imagesingle').css('width',width); $('#imagesingle').css('width',width);
$('#imagesingle').css('height',height); $('#imagesingle').css('height',height);
@@ -1068,7 +1070,8 @@ function preloadcheck() {
$('#desccontainer').css('background-color',"rgb("+colorValue+","+colorValue+","+colorValue+")"); $('#desccontainer').css('background-color',"rgb("+colorValue+","+colorValue+","+colorValue+")");
if (imgs.length==completed) { if (imgs.length==completed) {
clearInterval(preloader); clearInterval(preloader);
$('#desccontainer').css('background-color',"rgba(255,255,255,0)"); //$('#desccontainer').css('background-color',"rgba(255,255,255,0)"); FIX for IE
$('#desccontainer').css('background-color',"rgb(255,255,255)");
} }
return; return;
} }

View File

@@ -238,6 +238,7 @@ iframe {
margin-left:0; margin-left:0;
margin-bottom: -16px; margin-bottom: -16px;
margin-top: 1px; margin-top: 1px;
z-index: -1;
} }
.zoomPad{ .zoomPad{