On my webpage, I have added a table and converted all into links by using the following code:
HTML- <tr data-href="../images/accept.png" > <td> Blah Blah </td> </tr>
JQUERY-
$(document).ready(function(){
$('table tr').click(function(){
window.location = $(this).data('href');
return false;
});
});
I want to use lightbox on each of these links such that whenever I click on any row, lightbox opens up. I am using lightbox2 and unable to find a way to do it. This is the page for lightbox2: http://lokeshdhakar.com/projects/lightbox2/