<div class="codetitle"> <span><a style="CURSOR: pointer" data="40180" class="copybut" id="copybut40180" onclick="doCopy('code40180')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code40180"> <br>$(function(){ <br>$(".menu" ).click(function(){ <br>$(this).addClass("hover").siblings().removeClass("hover"); <br>}); <br>}); <br> </div>