This:
Code:
original = parseInt(this.offsetbottom);
is NaN (there is no property offsetbottom). In Firefox, that results in:
Warning: Error in parsing value for 'top'. Declaration dropped.
Source File: test/hover_2_h.htm
Line: 0
for the animation. In IE, I assume that rather than drop the declaration, it tries to do it, but gets confused. Ultimately, all you really need to animate here is the height (and that's all it's doing in Firefox anyway). So you can change your hover-jquery.js to:
Code:
var original = false;
$("#footer").hover(
function(){
$(this).stop().animate({ height : "225px" }, 350);
},
function(){
$(this).stop().animate({ height : "57px" }, 350);
}
);
This will work in virtually any browser that supports the fixed position applied to the footer division in your style section. That would be almost all modern browsers, including IE 7+.
Bookmarks