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>');
$('#imagesingle').css('max-width',width);
$('#imagesingle').css('max-height',height);
$('#imagesingle').css('width','auto');
$('#imagesingle').css('height',height);
}
$('#imagecontainer').css('height',height);
@@ -1005,7 +1007,7 @@ function showbigimage(i) {
var options = {
zoomType: 'innerzoom',
preloadImages: false,
alwaysOn:true,
alwaysOn:true
};
$('#imagesingle').css('width',width);
$('#imagesingle').css('height',height);
@@ -1068,7 +1070,8 @@ function preloadcheck() {
$('#desccontainer').css('background-color',"rgb("+colorValue+","+colorValue+","+colorValue+")");
if (imgs.length==completed) {
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;
}