Posted By

gamblelyn on 05/27/11


Tagged

html jquery


Versions (?)

Put a link in a fancybox title


 / Published in: jQuery
 

add the "a class" part in the body and the $('a.gallery') part between your javascript tags on the line right after $(document).ready(function() {

  1. <a class="gallery" href="gallery/big.png" title="text about the project :: <a href='http://www.client.com'>Launch website</a>"><img src="gallery/thumb.png" width="115" height="115" alt="" /></a>
  2.  
  3. $('a.gallery').fancybox({
  4. 'titlePosition' : 'inside'
  5. });

Report this snippet  

You need to login to post a comment.