It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

how to put a link in a fancybox title

Moderator: dafunkymunky

how to put a link in a fancybox title

Postby Timothy on Fri Jan 15, 2010 6:57 pm

Hi everybody, I seem to be stuck as to how to put a link inside a fancybox title, so that the caption beneath the image will display said link. Any help on this will be muy appreciated!
Timothy
 
Posts: 10
Joined: Wed Dec 16, 2009 2:45 pm

Re: how to put a link in a fancybox title

Postby twinsenw on Wed Jan 19, 2011 9:05 pm

This worked for me:

Code: Select all
    <a class="gallery" href="delete/big.png" title="text about the project :: <a href='http://www.someclient.com'>Launch website</a>"><img src="delete/thumb.png" width="115" height="115" alt="" /></a>

    $('a.gallery').fancybox({
    'titlePosition' : 'inside'
    });



put the "a class" part in the body and the $('a.gallery') part between your javascript tags on the line right after $(document).ready(function() {
twinsenw
 
Posts: 1
Joined: Wed Jan 19, 2011 8:55 pm


Who is online

Users browsing this forum: No registered users and 2 guests