如题:简单点就好!最好是有代码~~!!!一定要说清楚。

解决方案 »

  1.   

    光标移到哪个行 那个行背景颜色变黄 光标移开恢复原来颜色的方法:
    一.HTML:<TR style="FONT-WEIGHT: bold; FONT-STYLE: normal; BACKGROUND-COLOR: white; TEXT-DECORATION: none"    onMouseOver="this.style.backgroundColor='yellow'"onMouseOut="this.style.backgroundColor='white'">
    二.jQuery:
    1.先写好CSS:<style>
    .tr1{ font-weight: bold; font-style:normal; background-color: white; text-decoration:none; }
    .over{ background:yellow}
    </style>2.jQuery方法:<script src="../js/jquery-1.5.1.min.js" type="text/javascript"></script> //记得包含jQuery插件文件
    <script type="text/javascript">
    $(function(){
        $(".tr1").bind("mouseover mouseout",function(){
         $(this).toggleClass("over");
    });
    });
    </script>
    3.html代码:<TR class="tr1"><TD width="10%">姓名</TD></TR>
    <TR class="tr1"><TD width="10%">密码</TD></TR>
    <TR class="tr1"><TD width="10%">姓名</TD></TR>
    <TR class="tr1"><TD width="10%">密码</TD></TR>
      

  2.   

    PHP切换模板,cms比较好,http://bbs.phpcms.cn/forum.php