title: jQuery Cycle pagerAnchorBuilder
body: <p>I'm using the Cycle plugin for use in a news-rotator. This means I'm using Div's to populate the slides instead of images.</p>
  
  <p>My ultimate goal is to make a pager where instead of the usual 1, 2, 3, 4, etc. - it instead returns the first H3 tag in the slide. </p>
  
  <p>I know this probably a minor selection issue, but here's what I'm using so far:</p>
  
  <pre><code>$('#scroll_wrap').cycle({
          fx: 'fade',
          pager: '#pager',
          pagerAnchorBuilder: function(idx, slide) { 
                  return '&lt;li&gt;&lt;a href="#"&gt;' + slide.children("h3").textContent + '&lt;/a&gt;&lt;/li&gt;';
          }
  </code></pre>
  
  <p>I've also tried something like this:</p>
  
  <pre><code>    $('#scroll_wrap').cycle({
      fx: 'fade',
      pager: '#pager',
      pagerAnchorBuilder: function(idx, slide) { 
              var h3 = $('div',slide).children('h3');
              return '&lt;li&gt;&lt;a href="#"&gt;' + slide.h3 + '&lt;/a&gt;&lt;/li&gt;';
      }
  </code></pre>
  
  <p><strong><em>As you can probably tell, I'm still a fledgling.  :/</em></strong></p>
  
  <p>Can anyone help me out with the seleciton?? </p>