У меня проблема с моим modalWindow, которое в IE8 начинается в нижней части экрана, а в Firefox - в верхнем левом углу.Я не понимаю, почему в IE8 поле находится в нижней части экрана.Что вызывает это?Есть ли расхождение между FF и IE8 для позиции div?Я использую Jquery 1.4.2.
function showModalWindow(url, fullView)
{
if ('function' == typeof(closeflash)) closeflash();
if ( true == fullView )
{
$('#modalBlocker').setStyle({height: '100%'});
}
else
{
$('#modalBlocker').css("height", $(document).height() + 'px');
}
$('#modalBlocker').show();
var viewH = 955;//$(document).height();
var viewW = 1664;//$(document).width();
var x = 0;
var y = 0;
$('#modalWindow').css("bottom", 0);
//$('#modalWindow').css({left: 0 + 'px', top: 0 + 'px'});
//$('#modalWindow').css('top', '450px');
if ('undefined' != typeof(modalPages[url])) {
$('#modalWindow').fadeIn(0.5, function() { fillModalWindow(modalPages[url]); } );
$('#modalBlock').css("opacity", "0.5");
}
else {
$('#modalWindow').fadeIn(0.5, function() {
$.ajax({
url: url,
type: "GET",
success: function(response) {
if ('' != response.responseText) {
modalPages[url] = response.responseText;
fillModalWindow(response);
}
}
});
});
$('#modalBlocker').css('opacity', '0.5');
}
return false;
}