I'm using the following bit of code that seems to be working fine on all the desktop browsers I've checked, but chokes on mobile Safari and Chrome. Does anyone with more jQuery experience see any reason why that might be happening?
$(document).ready(function() {
$("#Menu a").click(function(event){
event.preventDefault();
var linkLocation = this.href;
$(".Content").animate({marginTop: "1000px"}, '500', function(){
$(".Content").load(linkLocation, function(){
$(".Content").animate({marginTop: "0px"}, '500');
});
});
});
});
Thanks for any help!