Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other IE not recognizing header tag Re: IE not recognizing header tag

#53802
soap
Participant

hahahahahaaha…….. i was inlcuding the header before body…

ANYWAY,

that said,

This code works in Chrome, not Firefox or IE:

$(document).ready(function() {
$('article').click(function(e) {
e.stopPropagation();
var offset = $(this).offset().top - 70;
$('body').animate({scrollTop: offset}, 'slow');
});
});

Maybe I’m missing something really obvious, but don’t think so.

Regretting using HTML5 right now :D