Put a link in a fancybox title


/ Published in: jQuery
Save to your folder(s)

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() {


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.