A jeste jedna zmena, kotvy funguji jen na odkazech. Tady takove demicko.
<style>div {height:200px}</style>
<form action='js-kotvy.htm' method=get>
<table><tbody valign=top><tr><td>
<div><a name="row0"></a>1 radek s obrazky</div>
<div><a name="row1"></a>2 radek s obrazky</div>
<div><a name="row2"></a>3 radek s obrazky</div>
<div><a name="row3"></a>4 radek s obrazky</div>
<div><a name="row4"></a>x radek s obrazky</div>
<div><a name="row5"></a>x radek s obrazky</div>
<div><a name="row6"></a>x radek s obrazky</div>
<div><a name="row7"></a>x radek s obrazky</div>
<div><a name="row8"></a>x radek s obrazky</div>
<div><a name="row9"></a>x radek s obrazky</div>
</td><td>
<div>
<input type=button onclick="xxx(this,0);" value="1">
<input type=button onclick="xxx(this,1);" value="2">
<input type=button onclick="xxx(this,2);" value="3">
<input type=button onclick="xxx(this,3);" value="4">
</div>
<div>
<input type=button onclick="xxx(this,0);" value="11">
<input type=button onclick="xxx(this,1);" value="22">
<input type=button onclick="xxx(this,2);" value="33">
<input type=button onclick="xxx(this,3);" value="44">
</div>
<div>
<input type=button onclick="xxx(this,0);" value="1111">
<input type=button onclick="xxx(this,1);" value="2222">
<input type=button onclick="xxx(this,2);" value="3333">
<input type=button onclick="xxx(this,3);" value="4444">
</div>
<div>
<input type=button onclick="xxx(this,0);" value="1111 1">
<input type=button onclick="xxx(this,1);" value="2222 2">
<input type=button onclick="xxx(this,2);" value="3333 3">
<input type=button onclick="xxx(this,3);" value="4444 4">
</div>
</td></tr></table>
</form>
<script>function xxx(button,id) {
var form = button.form;
form.action = form.action.replace(/[#].*/g,'');
form.action += '#row'+id+'';
form.submit();
}</script>