検索

<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="download_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="download_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="download_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="download_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="download_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="download_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="download_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="download_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="download_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="download_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="download_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 までご連絡ください。
HTML属性の目的は何ですか?HTML属性の目的は何ですか?May 07, 2025 am 12:01 AM

htmlattributeSareSientionalentionalentionalentionalentiallyance'functionalityandappearance.theyaddinformationtodefinebehavior、light、and interaction、makewebsitesteractive、responsive、andviseallyappaleal.attributeslikesrc、href、class、型、およびdoadabledransform

HTMLでリストを作成するにはどうすればよいですか?HTMLでリストを作成するにはどうすればよいですか?May 06, 2025 am 12:01 AM

toreatealistinhtml、useforunorderedlistsandfororderedlists:1)forunorderedlists、wrapitemsinanduseforeachitem、renderingasabulletedlist.2)

HTMLアクション:Webサイト構造の例HTMLアクション:Webサイト構造の例May 05, 2025 am 12:03 AM

HTMLは、明確な構造のWebサイトを構築するために使用されます。 1)Webサイト構造などのタグを使用し、定義します。 2)例は、ブログとeコマースのウェブサイトの構造を示しています。 3)誤ったラベルネスティングなどの一般的な間違いを避けてください。 4)HTTP要求を削減し、セマンティックタグを使用してパフォーマンスを最適化します。

HTMLページに画像を挿入するにはどうすればよいですか?HTMLページに画像を挿入するにはどうすればよいですか?May 04, 2025 am 12:02 AM

to inertanimageintoanhtmlpage、usethetagwithsrcandaltattributes.1)usealttextforaccessibilityandseo.2)emplencesrcsetForresponsiveimages.3)applylazyloadingwithloading = "lazy" tooptimizeperformance.4)

HTMLの目的:Webブラウザがコンテンツを表示できるようにするHTMLの目的:Webブラウザがコンテンツを表示できるようにするMay 03, 2025 am 12:03 AM

HTMLの中心的な目的は、ブラウザがWebコンテンツを理解して表示できるようにすることです。 1。HTMLは、タグなどのタグを介してWebページの構造とコンテンツを定義します。 3.HTMLは、ユーザーの相互作用をサポートするフォーム要素を提供します。 4. HTMLコードの最適化は、HTTP要求の削減やHTMLの圧縮など、Webページのパフォーマンスを改善できます。

Web開発にとってHTMLタグが重要なのはなぜですか?Web開発にとってHTMLタグが重要なのはなぜですか?May 02, 2025 am 12:03 AM

htmltagsareSterenceforwebdevelovementasyStheStructureanhandhancewebpages.1)theydefineLayout、semantics、and-interactivity.2)semanticagsimprovecessibility.3)opeusofusofagscanoptimizeperformanceandensurecross-brows-compativeation。

HTMLタグと属性に一貫したコーディングスタイルを使用することの重要性を説明します。HTMLタグと属性に一貫したコーディングスタイルを使用することの重要性を説明します。May 01, 2025 am 12:01 AM

コードの読みやすさ、保守性、効率を向上させるため、一貫したHTMLエンコーディングスタイルは重要です。 1)低ケースタグと属性を使用します。2)一貫したインデントを保持し、3)シングルまたはダブルの引用符を選択して固執する、4)プロジェクトのさまざまなスタイルの混合を避け、5)きれいなスタイルやEslintなどの自動化ツールを使用して、スタイルの一貫性を確保します。

ブートストラップ4にマルチプロジェクトカルーセルを実装する方法は?ブートストラップ4にマルチプロジェクトカルーセルを実装する方法は?Apr 30, 2025 pm 03:24 PM

Bootstrap4にマルチプロジェクトカルーセルを実装するソリューションBootstrap4にマルチプロジェクトカルーセルを実装するのは簡単な作業ではありません。ブートストラップですが...

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衣類リムーバー

Video Face Swap

Video Face Swap

完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

ホットツール

WebStorm Mac版

WebStorm Mac版

便利なJavaScript開発ツール

SublimeText3 英語版

SublimeText3 英語版

推奨: Win バージョン、コードプロンプトをサポート!

MantisBT

MantisBT

Mantis は、製品の欠陥追跡を支援するために設計された、導入が簡単な Web ベースの欠陥追跡ツールです。 PHP、MySQL、Web サーバーが必要です。デモおよびホスティング サービスをチェックしてください。

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Eclipse を SAP NetWeaver アプリケーション サーバーと統合します。

AtomエディタMac版ダウンロード

AtomエディタMac版ダウンロード

最も人気のあるオープンソースエディター