title: How to disable anchor "jump" when loading a page?
body: <p>I think this may not be possible, will try and explain as best as I can.
  I have a page containing tabs (jquery powered), controlled by the following:</p>
  
  <p>I'm using this code, as provided by another user from a previous question.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function() {
  
       $('html, body').animate({scrollTop:0}); // this is my "fix"
  
          var tabContent = $(".tab_content");
          var tabs = $("#menu li");
          var hash = window.location.hash;
       tabContent.not(hash).hide();
          if(hash=="") {
        $('#tab1').fadeIn();
       }
          tabs.find('[href=' + hash + ']').parent().addClass('active');
  
          tabs.click(function() {
              $(this).addClass('active').siblings().removeClass('active');
              tabContent.hide();
              var activeTab = $(this).find("a").attr("href");
  
              $(activeTab).fadeIn();
             return false;
          });
  
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>this code works great when I visit the "tabs" page directly.</p>
  
  <p>however, I need to link to invidual tabs from other pages - so to do this, the code gets the <code>window.location.hash</code> then shows the appropiate tab.</p>
  
  <p>the page doesn't "jump" to the anchor because of "return false".</p>
  
  <p>this event is only triggered on a click event however. hence, if i visit my "tabs" from any other page, the "jump" effect is triggered. To combat this I automatically scroll to teh top of the page, but I would rather this didn't happen.</p>
  
  <p>is there any way to simulate "return false" when the page loads, preventing the anchor "jump" from occuring.</p>
  
  <p>hope this is clear enough.</p>
  
  <p>thanks</p>