javascript 可以截图???关注!!!

解决方案 »

  1.   

    <head>
    <script type="text/javascript">
    function Savepic(){
    window.location="javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img%20src='+document.images[i7M1bQz].src+'><br>'};if(Ai7Mg6P!=''){document.write('<center>'+Ai7Mg6P+'</center>');void(document.close())}else{alert('No%20images!')}"
    }
    </script>
    </head>
    <input type="button" value="Save" class="trans" onclick="Savepic()"> 
    <img src="" width="429" height="335" id="pic">
    希望对你有用
      

  2.   

    呃可以做到切图的效果,但是还是在原图上取出开始切过的大小貌似每次读取时都要经过ashx里面的程序有些不太懂