close
$('#target-id').hide();  // 顯示
$('#target-id').show();  // 隱藏
$('#target-id').click(function(){ xxxx });  // 滑鼠單擊, 就xx
$('#target-id').hover(function(){$('#target-id').show();});  // 滑鼠移到上面, 就顯示
$('#target-id').mouseleave(function(){$('#target-id').hide();});  // 滑鼠離開, 就隱藏
更多參考 http://www.futurecolors.ru/jquery/
全站熱搜
創作者介紹
創作者 dizzy03 的頭像
dizzy03

碎碎念

dizzy03 發表在 痞客邦 留言(0) 人氣()