title: Activate Lightbox by clicking on LI rather than thumbnail
body: <p>Using Lightbox for a photo gallery and would like to initiate the function by clicking on the thumbnail's parent <code>&lt;li&gt;</code>rather than the thumbnail image. I have been able to do this easily with the thumbnail for the album (not using Lightbox, simply opening another page) with the following code:</p>
  
  <pre><code>$(".item").click(function(){
          window.location=$(this).find("a").attr("href");return false;
      });
  </code></pre>
  
  <p>However, can't seem to initiate Lightbox in a similar fashion. Ideas?</p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE</strong>
  I am using jQuery Lightbox (0.5), <a href="http://leandrovieira.com/projects/jquery/lightbox/" rel="nofollow noreferrer">http://leandrovieira.com/projects/jquery/lightbox/</a></p>
  
  <p>Here is the code to initiate: </p>
  
  <pre><code>   $('a.lightbox').lightBox();
  </code></pre>
  
  <p>And the HTML (with PHP for details):</p>
  
  <pre><code>&lt;a href="http://somewhere.com/gallery/photos/&lt;?php echo $images['filename'];?&gt;.jpg" class="lightbox" title="&lt;?php echo $images['caption'];?&gt;"&gt;
  </code></pre>