<img src="http://community.csdn.net/expert/images/rank/user2.gif" alt="this is a test">
好象刚刚回答过了 - -!

解决方案 »

  1.   

    <img src="http://community.csdn.net/expert/images/rank/user2.gif" onmouseover="showText(id)" onmouseout="textArea.innerHTML=''">
    <script>
    function showText(theID)
    {
      textArea.innerHTML=text[theID];
    }
    </script>
    text为你的文字存放的数组
      

  2.   

    textArea为你要出现的文字所在的对象 可以是<span>,<div> ...
      

  3.   

    ptma(守望者) 您可以做好一个样例出来,给我看吗,我搞不清
      

  4.   

    这样行吗?
    <div id=demo style=overflow:hidden;width:750;align="center">
            <table border=0 align=center cellpadding=1 cellspacing="1" cellspace=0 >
              <tr>
          <td valign=top bgcolor="ffffff" id=demo1> 
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center"> 
                      <td><a href="show.asp?id=1"><img src="csdn.gif" width="87" height="104" hspace="2" border="0" text="测试文字1" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=2"><img src="csdn2.gif" width="87" height="104" hspace="2" border="0" text="测试文字2" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=3"><img src="csdn3.gif" width="87" height="104" hspace="2" border="0"  text="测试文字3" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=4"><img src="csdn4.gif" width="87" height="104" hspace="2" border="0"  text="测试文字4" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=5"><img src="csdn5.gif" width="87" height="104" hspace="2" border="0"  text="测试文字5" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=6"><img src="csdn6.gif" width="87" height="104" hspace="2" border="0"  text="测试文字6" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=7"><img src="csdn7.gif" width="87" height="104" hspace="2" border="0"  text="测试文字7" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=8"><img src="csdn8.gif" width="87" height="104" hspace="2" border="0"  text="测试文字8" onmouseover="ShowText()"/></a></td>    </tr>
      </table>
       </td>
       <td id=demo2 valign=top>
       </td>
       </tr>
       </table>
       </div></td>
        </tr>
      </table>
      <script>
      var speed=30
      demo2.innerHTML=demo1.innerHTML
      function Marquee(){
      if(demo.scrollLeft>=demo1.scrollWidth)
      demo.scrollLeft=0
      else{
      demo.scrollLeft++
      }
      }
      var MyMar=setInterval(Marquee,speed)
      demo.onmouseover=function() {clearInterval(MyMar)}
      demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}function ShowText()
    {
        //显示文本
        showText.innerText = event.srcElement.text
    }
    </script>
    <table><tr><td id="showText"></td></tr></table>
      

  5.   

    这样行吗?
    <div id=demo style=overflow:hidden;width:750;align="center">
            <table border=0 align=center cellpadding=1 cellspacing="1" cellspace=0 >
              <tr>
          <td valign=top bgcolor="ffffff" id=demo1> 
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center"> 
                      <td><a href="show.asp?id=1"><img src="csdn.gif" width="87" height="104" hspace="2" border="0" text="测试文字1" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=2"><img src="csdn2.gif" width="87" height="104" hspace="2" border="0" text="测试文字2" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=3"><img src="csdn3.gif" width="87" height="104" hspace="2" border="0"  text="测试文字3" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=4"><img src="csdn4.gif" width="87" height="104" hspace="2" border="0"  text="测试文字4" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=5"><img src="csdn5.gif" width="87" height="104" hspace="2" border="0"  text="测试文字5" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=6"><img src="csdn6.gif" width="87" height="104" hspace="2" border="0"  text="测试文字6" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=7"><img src="csdn7.gif" width="87" height="104" hspace="2" border="0"  text="测试文字7" onmouseover="ShowText()"/></a></td>
                      <td><a href="show.asp?id=8"><img src="csdn8.gif" width="87" height="104" hspace="2" border="0"  text="测试文字8" onmouseover="ShowText()"/></a></td>    </tr>
      </table>
       </td>
       <td id=demo2 valign=top>
       </td>
       </tr>
       </table>
       </div></td>
        </tr>
      </table>
      <script>
      var speed=30
      demo2.innerHTML=demo1.innerHTML
      function Marquee(){
      if(demo.scrollLeft>=demo1.scrollWidth)
      demo.scrollLeft=0
      else{
      demo.scrollLeft++
      }
      }
      var MyMar=setInterval(Marquee,speed)
      demo.onmouseover=function() {clearInterval(MyMar)}
      demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}function ShowText()
    {
        //显示文本
        showText.innerText = event.srcElement.text
    }
    </script>
    <table><tr><td id="showText"></td></tr></table>