日期:2014-05-20  浏览次数:20595 次

标签<a>的问题 传值问题 急 大哥高手进啊
<table   id= "__01 "   width= "952 "   height= "174 "   border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
    <tr>
        <td   height= "44 "   colspan= "2 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image20 ', ' ', 'images/nyqmd2_01.gif ',1) "> <img   src= "images/nyqmd2_01.gif "   name= "Image20 "   width= "159 "   height= "44 "   border= "0 "> </a> </td>
        <td   width= "113 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image21 ', ' ', 'images/nyqmd2_02.gif ',1) "> <img   src= "images/nyqmd_02.gif "   name= "Image21 "   width= "113 "   height= "44 "   border= "0 "> </a> </td>
        <td   width= "114 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image22 ', ' ', 'images/nyqmd2_03.gif ',1) "> <img   src= "images/nyqmd_03.gif "   name= "Image22 "   width= "114 "   height= "44 "   border= "0 "> </a> </td>
        <td   width= "113 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image23 ', ' ', 'images/nyqmd2_04.gif ',1) "> <img   src= "images/nyqmd_04.gif "   name= "Image23 "   width= "113 "   height= "44 "   border= "0 "> </a> </td>
        <td   width= "112 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image24 ', ' ', 'images/nyqmd2_05.gif ',1) "> <img   src= "images/nyqmd_05.gif "   name= "Image24 "   width= "112 "   height= "44 "   border= "0 "> </a> </td>
        <td   width= "113 "> <a   href= "# "   onMouseOut= "MM_swapImgRestore() "   onMouseOver= "MM_swapImage( 'Image25 ', ' ', 'images/nyqmd2_06.gif ',1) "> <img   src= "images/nyqmd_06.gif "   name= "Image25 "   width= "113 "   height= "44 "   border= "0 "> </a> </td>
        <td   colspan= "2 "> <img   src= "images/nyqmd2_07.gif "   width= "228 "   height= "44 "   alt= " "> </td>
    </tr>
  </table>

这里面标签 <a> 中 我想写事件 不过因为不是服务器控件 所以写不了  我想实现点击一个 <a> 就在后台做响应的点击事件 这样如何写  因为美工做了 鼠标划过时候的样式 所以好象只能用到 <a>     我不会js所以不会写

------解决方案--------------------
美工也太差劲了,得补习补习HTML+CSS了。

如使用样式表,上面这些代码量可以减少六成以上,这样你做的时候也会好的多。
------解决方案--------------------
<a href= "# " onclick= "jsFunction() " /> or