I have a table with two columns. Left column displays the overview of the data with check boxes and the right coumn displays some action buttons that will be visible/invisible depending onthe check box checked from the left column. Now when the user is scrolling the page to view the left column info, i want to move the right column action buttons up/down too also with it.
These action buttons are inside a DIV tag, so will be moving the DIV tag.
<div name=“Action” id=“Action” align=“center” STYLE=“position:absolute;left:600;top:355;”>
<table border=“0” cellspacing=“1” style=“border-collapse: collapse” bordercolor=“#111111” width=“99%” id=“AutoNumber19”>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageItems(window.document.forms.frmQA,1)” title=“Add Item”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgAddItem”>
</a>
</td>
</tr>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageItems(window.document.forms.frmQA,2)” title=“Edit Selected Item”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgEditItem”>
</a>
</td>
</tr>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageItems(window.document.forms.frmQA,3)” title=“Remove Selected Item”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgRemoveItem”>
</a>
</td>
</tr>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageGroups(window.document.forms.frmQA,1)” title=“Add Group”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgAddGroup”>
</a>
</td>
</tr>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageGroups(window.document.forms.frmQA,2)” title=“Edit Selected Group”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgEditGroup”>
</a>
</td>
</tr>
<tr>
<td width=“100%” align=“center”>
<a href=“java_script_:ManageGroups(window.document.forms.frmQA,3)” title=“Remove Selected Group”>
<img border=“0” src=“…/…/images/blank.gif” border=“0” name=“imgRemoveGroup”>
</a>
</td>
</tr>
</table>
</DIV>
these buttons will be populatedwhen the check box will be selected from the left main column.
initial position of the DIV tag should be X=600 Y=355.
also i dont want the action buttons to go down the last row of the info column. This means that if we are scrolling up then it should be from TOP 355 and if we are scrolling down then if we have not reached the last row it should be 355 other wise it should not go down the last row of info column.
If the info column is smaller in height than the action column then upword scroll or downward scroll i want the top Y to be 355.
Any help in this regard will be greatly appreciated.
The example that i have followed is attached with this post.
click the following link to test the example