做一个下载链接,链接到的是图片,如何才能点击链接 ,弹出的是下载对话框,而不是浏览器直接打开图片 那是IIS控制的,应该用ISAPI可以实现吧 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <a href="xxx.gif" id=pic1 onclick="savepic();return false;" style="cursor:hand">点击另存[要在同一域]</a><script>function savepic(){if(document.all.a1==null){objIframe=document.createElement("IFRAME"); document.body.insertBefore(objIframe);objIframe.outerHTML= "<iframe name=a1 style='width:0;hieght:0' src="+pic1.href+"></iframe>";re=setTimeout("savepic()",1)}else{clearTimeout(re)pic = window.open(pic1.href,"a1")pic.document.execCommand("SaveAs")document.all.a1.removeNode(true)}}</script> reponse.type=imagereponse.write(byte) 求救未处理IndexOutOfRangeException 索引超出了数组界限 ORA-01861: 文字与格式字符串不匹配 彩票中奖问题 一个简单的问题 C#中有操作word文件的接口么,怎么用?我要把word中的纯文本提出来 DEBUG状态下,关闭程序,为什么不能完全退出? 页面刷进度条怎么做?--------急!!!!!! 求助! 如何使用Npoi为工作表标签设置颜色,2007格式的。 为何不能获取硬盘驱动器信息!? 问一下“中间代码反编译器”(IL desassembler)在系统的什么地方,我用的是win 2k adv 救命啊。水晶报表部署问题
<script>
function savepic(){
if(document.all.a1==null){
objIframe=document.createElement("IFRAME");
document.body.insertBefore(objIframe);
objIframe.outerHTML= "<iframe name=a1 style='width:0;hieght:0' src="+pic1.href+"></iframe>";
re=setTimeout("savepic()",1)
}
else{
clearTimeout(re)
pic = window.open(pic1.href,"a1")
pic.document.execCommand("SaveAs")
document.all.a1.removeNode(true)
}}
</script>
reponse.write(byte)