我也知道改变CSS样式,是不是当ONMOUSEOVER时,引发一个给图片加边框的样式,代吗怎么写啊??
各位帮忙啊

解决方案 »

  1.   

    <img alt='提示'>
    <table title='提示1'>
    <tr title='提示2'>
    <td title='提示3'>
    </td>
    </tr>
    </table>
      

  2.   

    nhconch(海风轻拂) 兄,
    可否再详细些,用JS怎么调用啊
      

  3.   

    <html>
    <head><title>sssssss</title>
    <style type="text/css">
    <!--
    .toolbarButton {
        color: WindowText;
        font-size: 9pt;
        background: buttonface;
        border: 1px solid buttonface;
        padding-left: 7px; padding-right: 7px; padding-top: 3px; padding-button: 3px;
        height:16;
        cursor: default;
    }.toolbarButtonHighlight {
        color: WindowText;
        font-size: 9pt;
        background: buttonface;
        border: 1px solid;
        border-color: buttonhighlight buttonshadow buttonshadow buttonhighlight;
        padding-left: 7px; padding-right: 7px; padding-top: 3px; padding-button: 3px;
        height:16;
        cursor: default;
    }.toolbarHander {
        color: WindowText;
        font-size: 9pt;
        background: buttonface;
        border: 1px solid;
        border-color: buttonhighlight buttonshadow buttonshadow buttonhighlight;
        height:16;
        cursor: w-resize;
    }.toolbar {
        color: WindowText;
        font-size: 9pt;
        background: buttonface;
        border: 1px solid;
        border-color: buttonhighlight buttonshadow buttonshadow buttonhighlight;
        height:18;
    }
    -->
    </style>
    </head>
    <body style="background: buttonface;">
    <table border=0 class="toolbar">
    <tr><td>
    <span class="toolbarHander" style="width:2;"></span>
    <span class="toolbarButton" title="打开文件" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    打开
    </span>
    <span class="toolbarButton" title="关闭文件" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    关闭
    </span>
    <span class="toolbarButton" title="保存文件" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    保存
    </span>
    <span class="toolbarButton" title="打开编辑菜单" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    编辑
    </span>
    <span class="toolbarButton" title="显示视图" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    视图
    </span>
    <span class="toolbarButton" title="显示帮助" onmouseover="this.className='toolbarButtonHighlight';" onmouseout="this.className='toolbarButton';">
    帮助
    </span>
    </td></tr>
    </table>
    </body>
    </html>