html td鼠标进入显示悬浮框

2018-12-20  本文已影响0人  冰之瓴

鼠标移动到指定框中,显示悬浮框展示指定内容

<td onmousemove="info(this)">显示悬浮框的内容</td>

对应的js显示标题内容

function info($this){

var title=$this.innerText;

$($this).attr("title",title);

}

显示效果

上一篇 下一篇

猜你喜欢

热点阅读