1) Script Title: Animated Collapsible DIV v2.01
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm
3) Describe problem: Instead of down from the top, how can I get this function to expand up from the baseline of the my table?
If I have content at x pixels in height, it needs to fit in the page, removing the need to scroll to see it all (assume the contents are not to exceed 600 pixels so it can fit on any screen). Example table below:
<!-- Image 01 -->
<table class="ItemTable" cellspacing="0" bgColor="#C2B0AC" onMouseOver="RowOn(this)" onMouseOut="RowOff(this)" onClick="javascript:animatedcollapse.toggle('001')">
<tr>
<td class="ItemName">Hands</td>
<td class="ItemNumber">01</td>
<td class="ItemCnrTL"><img src="images/CnrTL.png"></td>
<td width="532"></td>
<td class="ItemCnrTR"><img src="images/CnrTR.png"></td>
</tr>
<!-- Hidden content starts -->
<tr>
<td class="ItemHidden" colspan="5"><div id="001">***CONTENT GOES HERE***</div></td>
</tr>
<!-- Hidden content ends -->
<tr>
<td class="ItemName"></td>
<td class="ItemNumber"></td>
<td class="ItemCnrBL"><img src="images/CnrBL.png"></td>
<td></td>
<td class="ItemCnrBR"><img src="images/CnrBR.png"></td>
</tr>
</table>
I have searched in vain but am not sure how the function could be defined.
Any help/advice greatly appreciated.
Cheers.



Reply With Quote

Bookmarks