onmouseover行动不起作用......我该怎么办?

时间:2013-03-04 12:13:49

标签: mouseover

 <span id="hintText_123" style="display:none">
          <table id="hintTable" style="width:100%;border:0px none;padding:0px;border-collapse:collapse;margin:0px;background-color:#7F9DB9;">
             <tr style=background-color:#56718A;>
             <td style="color:white;font-size:11px;font-weight:bold;padding:2px">
                                        Title
              </td>
              <td style="width:5%;padding:2px">
              <img alt="" src="close.gif" style="width:15px;height:15px"  align=middle onclick=parent.hidetip()>
                                    </td></tr>
              <tr  style="background-color:#8CA7C0;"><td style="color:white;font-size:10px;padding:2px" colspan=2 >Description
                 </td>
               </tr>
               </table>
                        </span>

这是我要在以下项目的鼠标点击事件中显示的表格

<span style="display:block;" onmouseout="toggleHelp('helpGrp_123',false,'group_field_name_123')" onclick="showhint(document.getElementById('hintTextGrp_123') , this, event, '380px')">
                                Hello!!!
</span>

</tr>

但是点击 Hello !!!

时,表格没有显示

1 个答案:

答案 0 :(得分:0)

<script>
function callMe()
{
    var tmp = document.getElementById("hintText_123");
    alert(tmp.style.display);
    tmp.style.display = 'block'; 
}
</script>

请致电onmousemove =“callMe()”