td背景變換

字號:


    <script language=javascript>
    function showback1(a,b)
    {
    eval('td'+a+'').background=js/+b+.jpg;
    }
    function shouback11(a,b)
    {
    eval('td'+a+'').background=js/+b+.jpg;
    }
    </script>
    以下是td調(diào)用
    <td width=100 height=89 valign=bottom id=td1 style=cursor:hand background=js/11.jpg onmouseover=showback1(1,1) onmouseout=shouback11(1,11) onclick=window.open('index.asp?id=<%=id%>')>&nbsp;</td>