title: chrome not workign .offset().top
body: <p>Not working in chrome.... element.offset().top
  <strong>any suggestions</strong></p>
  
  <pre><code>$(window).load(function() {
  
    $(".scroll-box").scroll(function(){
      $('#document_activity .doc-draft.item.parent').each(function(i) {
        $movingLableTop = [];
        $movingLableHeight = [];
        $fixedLableTop = $('#fixed_version').find('.version').offset().top;
        $movingLableTop.push($(this).offset().top);
        $movingLableHeight.push($(this).height());
        if ($fixedLableTop &gt; ($movingLableTop + $movingLableHeight)){
          $('#fixed_version').find('.version').html($(this).find('.version').html());
        }
      });
    });
  
  });
  </code></pre>
  
  <p>Lot of people mentioned that chrome not get right value for offset()</p>