title: Fancybox 2 Custom Titles and Captions [from A(title) and IMG(alt]
body: <p>I'm trying to use title and "captions" from image alt tags with fancybox 2... for some reason I can't seem this to work...  </p>
  
  <pre><code>    $('.fancybox').fancybox({
  
          beforeShow : function() {
              this.title = '&lt;div class="new-title-title"&gt;' + $(this).attr('title') + '&lt;/div&gt;&lt;div class="new-title-alt"&gt;' +  $(this).children('img:first').attr('alt') + '&lt;/div&gt;';
          },
  
          helpers : {
              title: {
                  type: 'inner',
                  beforeShow: function(opts) {
                      console.log('beforeShow title helper');
                  },
              },
          },
  
      });
  </code></pre>
  
  <p>Titles from $(this).attr('title') work, Captions from $(this).children('img:first').attr('alt') say undefined...  I know I must be missing something simple... </p>