留下mail发给你关于日期的常见操作
http://community.csdn.net//Expert/TopicView2.asp?id=4360247&datebasetype=now
js FAQ贴
http://community.csdn.net//Expert/TopicView2.asp?id=4356360&datebasetype=now
DHTML手册,js手册,dom手册下载
http://community.csdn.net//Expert/TopicView2.asp?id=4356325&datebasetype=now

解决方案 »

  1.   

    [email protected] ,谢谢了,昨天没有看,今天更看到
      

  2.   

    麻烦给我一个,谢谢
    [email protected]
      

  3.   

    <table width="100%"  border="1" cellspacing="0" cellpadding="0" bordercolor="#5c561f">
      <tr>
        <td height="96%" align="center" valign="middle">
    <div id=demo style=overflow:hidden;height:122;width:450;background:#214984;color:#ffffff>
    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr >
    <td valign=top id=demo1>
    <img src="images/1.gif" width="180" height="120" border="0"><img src="images/2.gif" width="170" height="120"><img src="images/3.gif" width="170" height="120"><img src="images/4.gif" width="170" height="120"><img src="images/5.gif" width="170" height="120">
    </td>
    <td id=demo2 valign=top></td>
    </tr>
    </table>
    </div>
    </td>
      </tr>
    </table><script>
    var speed=30
    demo2.innerHTML=demo1.innerHTML
    function Marquee(){
    if(demo2.offsetWidth-demo.scrollLeft<=0)
    demo.scrollLeft-=demo1.offsetWidth
    else{
    demo.scrollLeft++
    }
    }
    var MyMar=setInterval(Marquee,speed)
    demo.onmouseover=function() {clearInterval(MyMar)}
    demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
    </script>效果地址看
    http://www.foodone.com.cn/
      

  4.   

    <div id="demo" style="OVERFLOW:hidden;WIDTH:650px;COLOR:#ffffff;HEIGHT:69px"><table cellpadding="0" cellspace="0" border="0" ID="Table39" height="60">
    <tr valign="middle">
    <td id="demo1" valign="middle">
    <table border="0" cellpadding="0" cellspacing="5" ID="Table40" height="60">
    <tr>

    <td align="left">此处加图片</td>
    </tr>
    </table>
    </td>
    <td id="demo2" valign="middle"></td>
    </tr>
    </table>
    </div>
    <script>
      var speed=2//速度数值越大速度越慢
      demo2.innerHTML=demo1.innerHTML
      function Marquee(){
      if(demo2.offsetWidth-demo.scrollLeft<0)
      demo.scrollLeft-=demo1.offsetWidth
      else{
      demo.scrollLeft++
      }
      }
      var MyMar=setInterval(Marquee,speed)
      demo.onmouseover=function() {clearInterval(MyMar)}
      demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
    </script>
    注意:div的长度