以下是漸變的js代碼(表示多余三行的要隱藏
function showAccomplishmentTableRow(){
$("#accomplishmenttable tr:hidden")
showAccomplishmentTableRow();
});
if($("#accomplishmenttable tr:hidden")
$("#accomplishmenttable")
}
}
function hideAccomplishmentTableRow(){
if($("#accomplishmenttable tr:visible")
$("#accomplishmenttable")
return;
}
$("#accomplishmenttable tr:visible")
hideAccomplishmentTableRow();
});
}
html
<table id="accomplishmenttable" class="bgWhite border
<tbody>
<tr class="bgLightGreyf
<th class="border_bottom
</tr>
<tr class="bgWhite height
<td class="border_bottom
<div class="margin
</td>
<td class="border_bottom
border_bottom
</td>
</tr>
<tr class="bgWhite height
<td class="border_bottom
<div class="margin
</td>
<td class="border_bottom
border_bottom
</td>
</tr>
</tbody>
</table>
<div class="floatR marginT
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20415.html