Help me please it’s driving me crazy !
(click on a picture to see the problem (problem on SAFARI only) : http://www.luciole.com/travaux/aef/site-test/page/equipe.html)
Thanks !!!
]]>// get the full hieght of body
var docHeight = document.documentElement.scrollHeight ? document.documentElement.scrollHeight : document.body.scrollHeight;
// Style overlay and show it
$(‘#jquery-overlay’).css({
backgroundColor: settings.overlayBgColor,
opacity: settings.overlayOpacity,
width: arrPageSizes[0],
height: docHeight
}).fadeIn();
Do it as well for resize function…
Tested in Chrome, FF, Safari & IE 6-8.. Works like a charm
]]>$(‘#jquery-overlay’).css({
backgroundColor: settings.overlayBgColor,
opacity: settings.overlayOpacity,
width: $(window).width(),
height: (arrPageSizes[1]) * (1.9) // Custom to fix a bug in IE with a bad overlay height background
}).fadeIn();
// instead of
$(‘#jquery-overlay’).css({
backgroundColor: settings.overlayBgColor,
opacity: settings.overlayOpacity,
width: $(window).width(),
height: arrPageSizes[1]
}).fadeIn();