如何实现图片和文字一起的走马灯
如:
   图片1   图片2  图片3   图片4
  文字1  文字2  文字3   文字4
图片和文字一起向左的走马灯···

解决方案 »

  1.   

    marquee 或者 js行吧  我也挺菜的
      

  2.   


    <marquee direction="left" scrollamount="2" loop="-1" scrolldelay="3" onMouseOver="this.stop()" onMouseOut="this.start()">
    <table width="200" border="1">
      <tr>
        <td><img src="1.jpg" width="150" height="148" /></td>
      </tr>
      <tr>
        <td>内容</td>
      </tr>
    </table>
    </marquee>LZ参考一下!!!
      

  3.   

    <marquee direction=left>啦啦啦,我从右向左移!</marquee> <P>
    <marquee direction=right>啦啦啦,我从左向右移!</marquee> 
    啦啦啦,我从右向左移!啦啦啦,我从左向右移!  
    方式 <bihavior=#> #=scroll, slide, alternate
    <marquee behavior=scroll>啦啦啦,我一圈一圈绕着走!</marquee> <P>
    <marquee behavior=slide>啦啦啦,我只走一次就歇了!</marquee> <P>
    <marquee behavior=alternate>啦啦啦,我来回走耶!</marquee> 
    啦啦啦,我一圈一圈绕着走!啦啦啦,我只走一次就歇了!啦啦啦,我来回走耶!  
    循环 <loop=#> #=次数;若未指定则循环不止(infinite)
    <marquee loop=3 width=50% behavior=scroll>啦啦啦,我只走 3 趟哟!</marquee> <P>
    <marquee loop=3 width=50% behavior=slide>啦啦啦,我只走 3 趟哟!</marquee> <P>
    <marquee loop=3 width=50% behavior=alternate>啦啦啦,我只走 3 趟哟!</marquee> 
    啦啦啦,我只走 3 趟哟!啦啦啦,我只走 3 趟哟!啦啦啦,我只走 3 趟哟!  
    速度 <scrollamount=#>
    <marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee> 
    啦啦啦,我走得好快哟!  
    延时 <scrolldelay=#>
    <marquee scrolldelay=500 scrollamount=100>啦啦啦,我走一步,停一停!</marquee> 
    啦啦啦,我走一步,停一停!