先定义一个DIV,把你要提示的内容,放到这个DIV中
向上增加一行
修改此行
向下增加一行
代码:
$("table tr").mouseover(function(){
$("#divInfo").css("z-index",999);//让层浮动
$("#divInfo").css("top",this.top+行高);//设置提示div的位置
$("#divInfo").css("left",11);
$("#divInfo").css("visibility","visible");
})