<< eAcceleratorでPHP高速化 | TOP | P2P 隣接秘匿方式 ansem ver0.02 Update >>
修正前
<div class="menu">
<p class="mainmenu">
<a href="javascript:void(0);" onclick="showHide('Patriotism');" onkeypress="showHide('Patriotism');" title="推薦バナー">Patriotism banner</a>
</p>
<div class="sidehide" id="Patriotism">
<p>
<a href="http://fula.jp/blog/index.php?no=r668" target="_self" title="竹島は日本の領土です. Takeshima is Japanese Territory. 다케시마는 일본의 영토입니다."><img src="./img/Takeshima_is_Japanese_Territory.gif" alt="Takeshima is Japanese Territory." title="竹島は日本の領土です. Takeshima is Japanese Territory. 다케시마는 일본의 영토입니다." width="150" height="50" /></a>
</p>
<p>
<a href="http://www.mofa.go.jp/policy/maritime/japan/index.html" target="_top" title="国際標準呼称は日本海です. Sea of Japan is the mono-name of the area."><img src="./img/See_of_Japan.gif" alt="Sea of Japan is the mono-name of the area." title="国際標準呼称は日本海です. Sea of Japan is the mono-name of the area." width="90" height="60" /></a>
</p>
</div>
</div>
修正後
<div class="menu">
<p class="mainmenu">
<a href="javascript:void(0);" onclick="showHide('Patriotism'); return false" onkeypress="showHide('Patriotism'); return false" title="推薦バナー">Patriotism banner</a>
</p>
<div class="sidehide" id="Patriotism">
<p>
<a href="http://fula.jp/blog/index.php?no=r668" target="_self" title="竹島は日本の領土です. Takeshima is Japanese Territory. 다케시마는 일본의 영토입니다."><img src="./img/Takeshima_is_Japanese_Territory.gif" alt="Takeshima is Japanese Territory." title="竹島は日本の領土です. Takeshima is Japanese Territory. 다케시마는 일본의 영토입니다." width="150" height="50" /></a>
</p>
<p>
<a href="http://www.mofa.go.jp/policy/maritime/japan/index.html" target="_top" title="国際標準呼称は日本海です. Sea of Japan is the mono-name of the area."><img src="./img/See_of_Japan.gif" alt="Sea of Japan is the mono-name of the area." title="国際標準呼称は日本海です. Sea of Japan is the mono-name of the area." width="90" height="60" /></a>
</p>
</div>
</div>
長々書いてありますが用は onclick と onkeypress に return false を追加するだけです。
更に簡単な別な方法で<a href="#"></a>の様にそもそもの原因のjavascript:void(0);を使わない方法もありますが、html構文的にはよろしくない様です。
上記より投稿時に設定した投稿パスを入力して下さい。修正、削除などの管理作業を行う事が出来ます。
<< eAcceleratorでPHP高速化 | TOP | P2P 隣接秘匿方式 ansem ver0.02 Update >>