代码超级简单,这里就不多BB了,直接奉上
代码如下:
Document
http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"> script>
鼠标经过下面的块
$("ul li").mouseover(function()
{
$(this).addClass("current");
}).mouseout(function()
{
$(this).removeClass("current");
});
script>
非常简单的代码,小伙伴们参考下,自由扩展,希望大家能够喜欢。