title: Scrolling Elements in Twitter widget
body: <p>I am trying to adding an auto scroll effect to my Twitter widget.</p>
  
  <p>I've taken the code provided by Twitter, added it to an HTML page, then added some Jquery plugin code (called<a href="http://caroufredsel.dev7studios.com/" rel="nofollow"> Caroufredsel </a>) to handle this operation.</p>
  
  <p>I've solved the issue where the code loads after the function call, by changing the function initiation from Document.ready to:</p>
  
  <pre><code>&lt;script&gt;    
  $(window).bind("load", function() {    
  $(".h-feed").carouFredSel({
          items: 2,
          direction: "up",
          scroll : {
          items: 1,
          easing: "elastic",
          duration: 1000,             
          pauseOnHover: true
          }               
      }); 
  });       
  &lt;/script&gt;
  </code></pre>
  
  <p>As seen by the code above I am trying to find a list element with the class "h-feed", this is the automatically generated (ol) element by the Twitter widget. The problem i am facing is that when the <code>GetElementByClass()</code> function is called it returns null in the HTMLcontainer indicating that no element was found!</p>
  
  <p>Can someone help me fix this issue?
  My full code is below for reference (Sorry about the bad formatting but the 1st part is the widget code provided by Twitter):</p>
  
  <pre><code>&lt;a class="twitter-timeline" href="https://twitter.com/NomadMadi" data-widget-id="384617889120010240"&gt;Tweets by @NomadMadi&lt;/a&gt;
  &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");&lt;/script&gt;
  
  
  &lt;script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="jquery.carouFredSel.js"&gt;&lt;/script&gt;
  </code></pre>