时,我想打一个表行完全可点击通过嵌入隐藏<td>
含有像这样的链接:阅读,然后负载弹出点击
<tr class="simplehighlight junk" >
<td>07/09/2011</td>
<td>Jennifer Woods Memorial GP</td>
<td>A52</td>
<td>Harris, Fred</td>
<td>1900</td>
<td>Nikolayev, Igor</td>
<td>2395</td>
<td class="text-center">0-1</td>
<td style='display:none;visibility:hidden;\'> games/game1242.php </td>
</tr>
我用颜色框为目标的表格单元格像这样:
<!--colorbox-->
<script src="./js/jquery.colorbox-min.js"></script>
<script>
$('tr.junk').colorbox(
{
iframe:true,
transition:'elastic',
speed:'100',
width:1030,
height:550,
href: function(){
return $(this).find('td').eq(8).text();
}
}
);
</script>
但我想使用jquery:
<!--Another Pop-up for games table-->
<script src="./js/jquery.popupWindow-min.js" ></script>
<script>
$('.diagram-popup').popupWindow({centerBrowser:1, height:560, width:1024});
</script>
如何将类diagram-popup
添加到第8个表格数据单元格,并单击该行时读取该单元格的内容?
它没有工作。也许有人可以检查http://communitychessclub.com/games-nu.php – verlager