4
The code below in jQuery runs perfectly well in Google Chrome and Opera. The problem is that it doesn’t work in IE and Firefox, it used to work.
// Jquery document...
$(document).ready(function() {
    $('a[href^="#"]').click(function (event) {
        var id = $(this).attr("href");
        var target = $(id).offset().top - 200;
        $('body').animate({scrollTop:target}, 300);
        event.preventDefault (); 
    });
});
Thanks William, it worked.
– João Carlos