1
에 'TR'colorbox 'HREF'에 '제목'을 받아 같은 을 보여내가 클릭하면 원하는처럼 'href가'동적 을 인라인 colorbox를 변경하는 방법
<table>
<tr title="project1">
<td></td>
</tr>
<tr title="project2">
<td></td>
</tr>
</table>
<div id="project1" style="display:none">this is about project one</div>
<div id="project2" style="display:none">this is about project two </div>
감사를 많이 임마, 난 생각이있어 이것을 시도해 보니 고맙습니다. 고맙습니다.
$("tr").colorbox({ width: "50%", inline: true, href: function() { var url = $(this).attr('title'); return '#' + url ; } });
– Khawar