first second third fourth

↑この<a>のリンク先を書き換えると、下のリンクも連動して変わる。


Anchor Sychronization

別の<a>のhref属性と同じURIへジャンプするjavascriptのサンプル。

読み取り元となる<a>にはname属性を指定すること。

動作確認ブラウザ: Opera8, IE6


first


first second third fourth

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...


second


first second third fourth

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...


third


first second third fourth

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...


fourth


first second third fourth

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...

... something ...


first second third fourth