Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jQuery悬停显示内容_Jquery_Hover - Fatal编程技术网

jQuery悬停显示内容

jQuery悬停显示内容,jquery,hover,Jquery,Hover,基本上有一个产品表,类似于: <table> <tr> <td>Product 1 <br> Brief info</td> <td>Product 2 <br> Brief info</td> <td>Product 3 <br> Brief info</td> </tr> </table> 产品1简要信

基本上有一个产品表,类似于:

<table>
  <tr>
    <td>Product 1 <br> Brief info</td>
    <td>Product 2 <br> Brief info</td>
    <td>Product 3 <br> Brief info</td>
  </tr>
</table>

产品1
简要信息 产品2
简要信息 产品3
简要信息
当用户将鼠标悬停在表格单元格上时,我希望该单元格稍微淡出,然后在该单元格上覆盖一些内容,并调用产品页面的操作

没有太成功地将其付诸实施,因此任何指示都将受到赞赏。

利用:

利用:

参见

参见

$("table td").hover(
 function () {
     // mouse over
  }, 
  function () {
   // mouse out
  }
);