| [alertなし] | jump_point_1(#L1)へ | jump_point_2(#L2)へ |
| [alertあり] | jump_point_1(#C1)へ | jump_point_2(#C2)へ |
| [alertあり(timer)] | jump_point_1(#R1)へ | jump_point_2(#R2)へ |
ここにこんな javascript が記述されています。
<script>
var lhash = location.hash;
if ( lhash.match(/C/) ) {
alert("ここで alert を表示してみる");
} else if ( lhash.match(/R/) ) {
window.setTimeout(function(){ alert("setTimeout を使って描画後あたりで alert を表示してみる"); }, 100);
}
</script>