찾다
웹 프론트엔드HTML 튜토리얼关于下载的问题_html/css_WEB-ITnose

<table width="100%" border="0" cellspacing="0" cellpadding="0">                    <tr>                      <td width="490" height="30"><%response.write " <a href='Download.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a> >> "if rs("SmallClassName") & ""<>"" then	response.write "<a href='Download.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a> >> "end ifresponse.write rs("Title")%>                      </td>                    </tr>                    <tr>                      <td colspan="2"><br />                          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" >                            <tr class='MC_DoShow_T1Tr1'>                              <td height="30" colspan="2" bgcolor="#FFFFFF"> <%=rs("Title")%></td>                            </tr>                            <tr bgcolor="#FFFFFF" >                              <td width="419" height="40" > 软件语言:<%=rs("Language")%></td>                              <td width="256" rowspan="5" align="center"><img  src="/static/imghwm/default1.png"  data-src="<%if rs("  class="lazy"  PhotoUrl")="" then% alt="关于下载的问题_html/css_WEB-ITnose" >Img/nopic.gif<%else%><%=rs("PhotoUrl")%><%end if%>" alt="<%=rs("title")%>" width="200"    style="max-width:90%" border="0" /></td>                            </tr>                            <tr>                              <td height="40" bgcolor="#FFFFFF" > 文件大小:<%=rs("FileSize")%></td>                            </tr>                            <tr>                              <td height="40" bgcolor="#FFFFFF"> 运行环境:<%=rs("System")%></td>                            </tr>                            <tr>                              <td height="40" bgcolor="#FFFFFF" > 整理日期:<%=FormatDateTime(rs("AddDate"),2)%></td>                            </tr>                            <tr>                              <td height="40" bgcolor="#FFFFFF" > 下载次数:<%=rs("Hits")%></td>                            </tr>                          </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="<%=rs("DownloadUrl")%>" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>                        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="10"></td>                            </tr>                            <tr>                              <td><FONT face=Verdana><%=rs("Content")%></FONT></td>                            </tr>                        </table></td>                    </tr>                    <tr>                      <td height="19"><div align="right">【<a href='javascript:history.back()' class="link1">返回</a>】</div>                          <div align="center"></div></td>                    </tr>                  </table>




点击下载以后,(下载按钮是个图片)不弹出下载框,而是跳转到新的页面,是什么原因?谢谢!!!!


回复讨论(解决方案)

去掉target=_blank看看

去掉  target=_blank   

去掉target=_blank看看


不行!

如果不行,href=""   这里编译出来是什么样的?贴出来看看

     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>

跳到新的页面之后才出下载框,还是跳了也不出?

跳到新页面,不出框


发一下论述

     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>



下载的是图片?


     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>



下载的是图片?

没有下载,只是把图片在新的页面打开了

这个问题我不会

这个问题我不会



     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>



下载的是图片?

没有下载,只是把图片在新的页面打开了

图片当然会直接打开的,浏览器自动识别图片,压缩文件是直接下载的,你项目下载的都是图片?
<a href="UploadFiles/2009827124252918.rar" ><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a>

这样的直接下载

一定要下载图片, http://blog.csdn.net/awinliu/article/details/9401083  这里有


这个问题我不会

真不会。




     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>



下载的是图片?

没有下载,只是把图片在新的页面打开了

图片当然会直接打开的,浏览器自动识别图片,压缩文件是直接下载的,你项目下载的都是图片?
<a href="UploadFiles/2009827124252918.rar" ><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a>

这样的直接下载

一定要下载图片, http://blog.csdn.net/awinliu/article/details/9401083  这里有

哦,那其他文件哪?比如office文档,谢谢!

浏览器可识别的文件格式,点击后会直接在浏览器中打开。
在火狐和谷歌下可以给标签加上一个download属性,其他浏览器的话是不能实现的。



这个问题我不会

真不会。





     </table>                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr>                              <td height="35" ><a href="UploadFiles/2009827124252918.jpg" target=_blank><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a></td>                            </tr>                            <tr>                              <td height="45" class="tit-3" style="font-weight: bold">下载说明</td>                            </tr>                          </table>



下载的是图片?

没有下载,只是把图片在新的页面打开了

图片当然会直接打开的,浏览器自动识别图片,压缩文件是直接下载的,你项目下载的都是图片?
<a href="UploadFiles/2009827124252918.rar" ><img  src="/static/imghwm/default1.png"  data-src="img/down.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" border="0" / alt="关于下载的问题_html/css_WEB-ITnose" ></a>

这样的直接下载

一定要下载图片, http://blog.csdn.net/awinliu/article/details/9401083  这里有

哦,那其他文件哪?比如office文档,谢谢!

http://blog.csdn.net/awinliu/article/details/9401083 

用JS传

哦,好像有点难度,我先学习研究下,好难烦啊啊啊啊啊!

果然是高手 啊啊啊啊啊啊

성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
如何在 Steam 中更改游戏下载位置如何在 Steam 中更改游戏下载位置May 10, 2023 pm 11:22 PM

Steam是PC游戏玩家中最受欢迎的应用程序之一,因为您可以在Steam商店中找到任何主要游戏。它通过其用户界面简化了用户喜爱的游戏的下载、安装和管理。每当Steam用户想要下载游戏时,Steam都会使用应用程序的默认安装目录来下载和安装游戏。此位置默认为C:\ProgramFiles(x86)\Steam。问题来了,因为大多数用户在C盘上没有足够的空间,特别是对于占用大量存储空间的游戏,例如50–100GB。为了克服这个问题,Steam允许用户使用应用程序更改游戏的下载和

mac版下载是什么意思mac版下载是什么意思Mar 06, 2023 am 09:52 AM

mac版下载的意思是当软件在选择安装时,选择MAC版下载;Windows版和MAC版是两个不同的操作系统,所以大多数软件在选择安装的同时需要选择Windows版还是MAC版。

千兆网下载速度是多少千兆网下载速度是多少Mar 08, 2023 am 09:57 AM

千兆网下载速度理论上是125MB/S,也就是每秒下载速度最高125M;在实际使用中,受到网卡、路由器、网线、硬盘等网络设备的影响,实际下载速度大概有110-117MB/s,也就是880-936Mbps左右。

win10下载不了steam怎么办win10下载不了steam怎么办Jul 07, 2023 pm 01:37 PM

Steam是十分受欢迎的一个平台游戏,拥有众多优质游戏,可是有些win10用户体现自己下载不了steam,这是怎么回事呢?极有可能是用户的ipv4服务器地址没有设置好。要想解决这个问题的话,你可以试着在兼容模式下安装Steam,随后手动修改一下DNS服务器,将其改成114.114.114.114,以后应当就能下载了。win10下载不了steam怎么办:WIn10下能够试着兼容模式下安装,更新后必须关掉兼容模式,不然网页将无法加载。点击程序安装的属性,以兼容模式运作运行这个程序。重启以增加内存,电

微软官方下载的win10需要花钱吗微软官方下载的win10需要花钱吗Jul 01, 2023 pm 06:17 PM

微软官方下载的win10需要花钱吗?现在win10依旧是使用最多最稳定的系统,所以还是有很多人想要使用,那么现在win10系统下载需要钱吗,其实下载一直都是不需要花钱的,但是激活使用需要。很多小伙伴不知道怎么回事,小编下面整理了win10系统下载需要钱吗介绍,如果你感兴趣的话,跟着小编一起往下看看吧!win10系统下载需要钱吗介绍答:win10系统下载不要钱,但是要激活使用是要花钱的,不激活部分功能用不了,还会有烦人的激活提示。1、其实win10下载一直都是不要钱的。2、但是正版win10是需要

win7镜像文件下载安装详细步骤win7镜像文件下载安装详细步骤Jul 13, 2023 pm 06:13 PM

win7系统是目前最流行的操作系统,大多数电脑都是运行win7系统,win7系统界面华丽,稳定性强,是受用户青睐的最大因素,接下来就和大家分享一下电脑安装windows7镜像系统的方法吧。1、首先我们在电脑上下载装机吧一键重装系统,打开选择win7系统安装,重装之前请自行备份好c盘和桌面的数据。2、选择需要安装的镜像文件之后,耐心等待注意电脑不要断电断网。3、等待下载部署完成后,点击立即重启。4、接着来到这个windows启动管理器,我们选择第二个选项Zhuangjiba进入pe系统。5、进入p

Win10无法下载Steam的解决方案Win10无法下载Steam的解决方案Jul 10, 2023 pm 04:45 PM

Steam是一个内置丰富的游戏资源的热门游戏平台,但一些用户发现他们无法在更新Win10系统后下载Steam。这是怎么回事?应该是因为我们的ipv4服务器地址没有设置好。让我们来看看解决方案。Win10不能下载Steam的解决方案:您可以尝试在Win10下安装兼容模式,更新后需要关闭兼容模式,否则网页将无法加载。点击安装程序的属性,以兼容模式运行此程序(旧版Win7没有此功能,设置功能比其他计算机更多,通常是主机计算机,我是Win10专业版)重新启动以释放内存,计算机不操作2分钟,然后操作安装程

win10下载官网地址win10下载官网地址Jul 11, 2023 am 10:41 AM

  最近win11系统出来了测试版,很多小伙伴也用起了win11,但win10系统现在依然是最多人使用的,不知道去哪里下载win10系统的小伙伴们,下面小编就给大家分享win10下载官网地址。  1.win7之家官网:http://www.windows7en.com/。里面想要任何系统都有,小伙伴可以去这里找。  2.小白一键重装系统官网:http://www.xiaobaixitong.com/。小白也一样是各个版本都有,还能一键安装win7原版系统。  以上就是win10下载官网地址,希望

See all articles

핫 AI 도구

Undresser.AI Undress

Undresser.AI Undress

사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover

AI Clothes Remover

사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool

Undress AI Tool

무료로 이미지를 벗다

Clothoff.io

Clothoff.io

AI 옷 제거제

AI Hentai Generator

AI Hentai Generator

AI Hentai를 무료로 생성하십시오.

뜨거운 도구

SublimeText3 영어 버전

SublimeText3 영어 버전

권장 사항: Win 버전, 코드 프롬프트 지원!

mPDF

mPDF

mPDF는 UTF-8로 인코딩된 HTML에서 PDF 파일을 생성할 수 있는 PHP 라이브러리입니다. 원저자인 Ian Back은 자신의 웹 사이트에서 "즉시" PDF 파일을 출력하고 다양한 언어를 처리하기 위해 mPDF를 작성했습니다. HTML2FPDF와 같은 원본 스크립트보다 유니코드 글꼴을 사용할 때 속도가 느리고 더 큰 파일을 생성하지만 CSS 스타일 등을 지원하고 많은 개선 사항이 있습니다. RTL(아랍어, 히브리어), CJK(중국어, 일본어, 한국어)를 포함한 거의 모든 언어를 지원합니다. 중첩된 블록 수준 요소(예: P, DIV)를 지원합니다.

Eclipse용 SAP NetWeaver 서버 어댑터

Eclipse용 SAP NetWeaver 서버 어댑터

Eclipse를 SAP NetWeaver 애플리케이션 서버와 통합합니다.

SublimeText3 Mac 버전

SublimeText3 Mac 버전

신 수준의 코드 편집 소프트웨어(SublimeText3)

맨티스BT

맨티스BT

Mantis는 제품 결함 추적을 돕기 위해 설계된 배포하기 쉬운 웹 기반 결함 추적 도구입니다. PHP, MySQL 및 웹 서버가 필요합니다. 데모 및 호스팅 서비스를 확인해 보세요.