您现在的位置: 中国教师站 >> 教师关注 >> 电脑技术 >> 网页设计 >> CMS技巧 >> 正文

Google
动易下载内容页面中点击下载地址打开新页面的方法
作者:admin 文章来源:本站原创 点击数: 更新时间:2008-7-18 20:20:10

再在下面添加代码(这里的代码就是前台显示的,可自己修改):

以下是引用片段:
%>
<div>
    <table height=80 cellSpacing=0 cellPadding=0 width=500 align=center border=0>
      <tr>
        <td></td>
      </tr>
    </table>
    <table class=Guest_border cellSpacing=1 cellPadding=0 width=500 align=center border=0>
      <tr>
        <td vAlign=top align=middle>
          <table class=Guest_title cellSpacing=0 cellPadding=0 width="100%" border=0>
            <tr>
<TH><%=SiteName%>—友情提示!</TH>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class=Guest_tdbg vAlign=top align=middle>
          <table height=15 cellSpacing=0 cellPadding=0 width="80%" border=0>
            <tr>
              <td></td>
            </tr>
          </table>
          <table height="100%" cellSpacing=0 cellPadding=0 width="80%" border=0>
            <tr>
              <td class=TableRow1 vAlign=center height=25>
              <LI>软件名称 -- <font    color=#990000><%=SoftName%></font></LI></td>
            </tr>
            <tr>
              <td class=TableRow1 vAlign=center height=25>
              <LI>我要报错 -- 如果您发现该软件不能下载,请点击【<A href="DownError.asp?SoftID=<%=SoftID%>"><FONT color=red><B>报错</B></FONT></A>】,谢谢!</LI></td>
            </tr>
            <tr>
              <td class=TableRow1 vAlign=center height=25>
              <LI><A href="<%=DownloadUrl%>"><FONT color=blue>立即下载</FONT> -- <%=SoftName%></A></LI></td>
            </tr>
          </table>
          <table height=15 cellSpacing=0 cellPadding=0 width="80%" border=0>
            <tr>
              <td></td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class=Guest_tdbg vAlign=top align=middle>
          <table class=Guest_border2 style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" border=0>
            <tr>
              <td class=TableRow2 align=middle><A href="<%=SiteUrl%>">返回首页</A> | <A href="javascript:window.close()">关闭窗口</A></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
</div>
<%
注:%>和<%中间的代码,可以在后台添加为自定义页面(如:ShowSoftDown_s.asp)再生成,保存在soft/下面,再在这里调用,<!--#include file="ShowSoftDown_s.asp"-->。这样就不用为换模板风格不统一而发愁了。而且可以添加页面标题和关键字等内容。如:
<title><%=SiteName%> >> 下载中心 >> 软件名称:<%=SoftName%>-<%=SoftVersion%></title>


五、把这个文件再上传上去,前台随便点一个软件进行下载,看看效果。^_^,搞定就这么简单。

上一页  [1] [2] 

  • 上一篇文章: 没有了

  • 下一篇文章:
  • 相关专题:
     
     网友评论:(评论内容只代表网友观点,与本站立场无关!)
    GOOGLE广告

    阅读排行

    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 |
    中国教师站

    中国教师站 版权所有 Copyright © 2006-2020 All Rights Reserved 站长:Sina & Siny
    [备用域名:www.JXZYW.Com] 有事请留言有事请留言
    【实力成就精品 诚信呵护品牌】

    信息产业部备案
    苏ICP备06018635号