title: Some jQuery-powered features not working in Chrome
body: <p>I'm using a <a href="http://www.gmarwaha.com/jquery/jcarousellite/" rel="nofollow noreferrer">jCarouselLite</a> plugin for creating two image galleries on the main page of my Django-powered site. The code of elements with navigation arrows is generating dynamically like this:</p>
  
  <pre><code>$(document).ready(function ()
  {
      $('[jq\\:corner]').each(function(index, item)
      {
          item = $(item); item.corner(item.attr('jq:corner'))
      })
  
      $('[jq\\:menu]').each(function (index, item)
      {
          item = $(item); item.menu(item.attr('jq:menu'))
      })
  
      $('[jq\\:carousel]').each(function(index, item)
      {
          item = $(item); var args = item.attr('jq:carousel').split(/\s+/)
  
          lister = item.parent().attr('class') + '_lister'
          item.parent().append('&lt;div id="'+ lister +'"&gt;&lt;/div&gt;');
  
          $('#' + lister).append("&lt;a class='nav left' href='#'&gt;&lt;/a&gt;&lt;a class='nav right' href='#'&gt;&lt;/a&gt;");
  
          toparrow = $(item).position().top + $(item).height() - 50;
          widtharrow = $(item).width();
  
          $('#' + lister).css({
              'display': 'inline-block',
              'z-index': 10,
              'position': 'absolute',
              'margin-left': '-22px',
              'top': toparrow,
              'width': widtharrow
          })
  
          $('#' + lister + ' .nav.right').css({
              'margin-left': $('#' + lister).width() + 22
          })
  
          item.jCarouselLite({
              btnNext: '#' + lister + ' .nav.right',
              btnPrev: '#' + lister + ' .nav.left',
              visible: parseInt(args[0])
          })
  
  })
  </code></pre>
  
  <p>The problem is that if page is loaded through an url, <em>typed in the adress bar</em>, some functions doesn't work and the second gallery appears with the wrong parameters, but if I came to this page <em>via clicking link</em> - everything works perfectly. It happends only in Google Chrome (Ubuntu, stable 5.0.360.0), but not in Firefox or Opera. </p>
  
  <p>What could be the reason?</p>