jquery 表格鼠标 变色
<script type="text/javascript"> $(document).ready(function() { $(".frame tr").mouseover(function() { if ($(this).index() > 0) { $(this).addClass("over"); } }).mouseout(function() { if ($(this).index() > 0) { $(this).removeClass("over"); } }); }); </script> <style type="text/css"> td.locked { position: relative; left: expression(document.getElementById("divTableContainer").scrollLeft); background-color: #8EAAE9; z-index: 0; } tr.over td { background: #bcd4ec; cursor: pointer; } </style>?