Page is a not externally linkable
Sub_Seven - 5:08 am on Aug 31, 2012 (gmt 0)
I tried this:
$(window).load(function() {
setSize();
$('#slider').nivoSlider();
});
and this:
<body onload="setSize(); $('#slider').nivoSlider();">
And also tried temporarily removing all the nivo slider code and nothing seems to do it.
An interesting note is that if I resize the ie window and then maximize it again everything kinda snaps into place and looks just fine.
Also I tried this to check it didn't have anything to do with timing:
setTimeout(function setSize(){
var firstLi = $('#hotelSlider').show().find('li:first-child');
var firstHeight = firstLi.height();
var container= $('#hotelSlider');
container.css({
'height': firstHeight + 'px'
});
}, 5000);
Chrome and Firefox wait for the 5 seconds and resize, IE insists in making my life a living hell...