I\'m having a bit of trouble making this JQuery work in Internet Explorer, it works beautifully in FF, WebKit, etc, sliding up, bouncing and falling back into place, but in Inte
http://jsfiddle.net/koolvin/MXwXA/5/ This has been tested in all IE versions, it works in IE6+
I did three things:
;
It amounted to this:
$(document).ready(function() {
$('#homecontent').delay("750").animate({
marginTop: "-15px"
}, 1500).animate({
marginTop: "5px"
}, 500);
});
$("#shop").click(function(e) {
e.preventDefault();
$('#homecontent').animate({
marginTop: "1500px"
}, 1500).delay("1500", function() {
window.location.href = "http://www.jamiedurham.co.uk/shop/", "shop"
});
});
$("#blog").click(function(e) {
e.preventDefault();
$('#homecontent').animate({
marginTop: "1500px"
}, 1500).delay("1500", function() {
window.location.href = "http://www.jamiedurham.co.uk/blog/", "blog"
});
});