JQuery Scroll to Offset from top of browser?
<p>I have the following scroll script, which scrolls round the page fine, works exactly how i want it too.</p>

<pre><code>$(function(){
    $('a[href*=#]').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
        &amp;&amp; location.hostname == this.hostname) {
            var $target = $(this.hash);
            $target = $target.length &amp;&amp; $target || $('[name=' + this.hash.slice(1) +']');
            if ($target.length) {
                var targetOffset = $target.offset().top;
                $('html,body').animate({scrollTop: targetOffset}, 1000);
                return false;
            }
        }
    });
});
</code></pre>

<p>However, i need it to ignore the top say 200px as i have a fixed header at the top of the page that the content scrolls behind.</p>

<p>Meaning that when i scroll to top it scrolls the content to behind the fixed header so i cannot see it, so i need it to scroll to just below the header.. so to treat the bottom of the header as the top of the browser i suppose....</p>

<p>Can this be done as it would be very handy?</p>

<p>Many thanks for any help</p>
