table的td设id="shuoming"
<script>
function show_txt(str)
{
document.getElementById("shuoming").innerText = str;
}
</script><IMG onmouseover="show_txt(pic1)">
<IMG onmouseover="show_txt(pic2)">
<IMG onmouseover="show_txt(pic3)">
<script>
function show_txt(str)
{
document.getElementById("shuoming").innerText = str;
}
</script><IMG onmouseover="show_txt(pic1)">
<IMG onmouseover="show_txt(pic2)">
<IMG onmouseover="show_txt(pic3)">
<script>
function show_txt(str)
{
document.getElementById("shuoming").innerText = str;
}
</script><IMG onmouseover="show_txt('this is pic1')">
<IMG onmouseover="show_txt('this is pic2')">
<IMG onmouseover="show_txt('this is pic3')">
改成如下:
document.getElementById("shuoming").innerHTML = "<div style='FONT-SIZE:14pt;FONT-FAMILY:system;COLOR:red'>"+str+"<br>this is 2 row</div>";类似就可以了