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/
全站熱搜