从本页面copy代码就行了..写成HTC可能更有通用性.

解决方案 »

  1.   

    怎么copy,我看到的源文件没有这个内容,为什么, 
      你copy出来,给我吧,我一定给你分了。
      

  2.   

    document.ondblclick=initialize
    function initialize() 

    timer=setInterval('scrollwindow()',10);

    function sc(){
    clearInterval(timer);
    }
    function scrollwindow() 

    currentpos=document.body.scrollTop; 
    window.scroll(0,++currentpos); 
    if (currentpos != document.body.scrollTop) 
    sc();

      

  3.   

    同意楼上的,少了两句:
    document.ondblclick=initialize;
    document.onclick=sc;
    var timer;
      

  4.   

    var currentpos,timer; 
    function initialize() 

    timer=setInterval('scrollwindow()',10);

    function sc(){
    clearInterval(timer);
    }
    function scrollwindow() 

    currentpos=document.body.scrollTop; 
    window.scroll(0,++currentpos); 
    if (currentpos != document.body.scrollTop) 
    sc();

    document.onmousedown=sc
    document.ondblclick=initialize
    <?xml-stylesheet type='text/xsl' href='/expert/Xsl/2.xsl'?>
    注意到这个文件没有http://www.csdn.net/expert/Xsl/2.xsl
    这里就有你所要的脚本
      

  5.   

    yonghengdizhen(情已逝-有梦又能怎样?) 
      谢谢你,高手,我下午来上班的时候送分给你,
    谢你帮我,如果你可以把上面的语句讲给我一下就好了。:)