Dedecms 模板中心

您现在的位置: 首页 > 教程文档 > 织梦技巧 >

织梦网站系统添加迅雷专用链接

来源:未知 发布时间:2016-05-29热度:
内容代码/templets/system/channel/channel_downlinks.htm文件 script language=javascript var thunder_url = ~link~; var thunder_pid = 29416; var restitle = ; document.write(a href=# thunderHref= + ThunderEncode(thunder_url) + thunderPid= + thu...

内容代码/templets/system/channel/channel_downlinks.htm文件
 
<script language="javascript">
    var thunder_url = "~link~";
    var thunder_pid = "29416";
    var restitle = "";
    document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="ThunderNetwork_SetHref(this)">迅雷专用高速下载</a> ');
</script>
加/templets/plus/download_links_templet.htm文件
 
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>
图片截图
 
 
该文章转摘自-网页制作大宝库(www.dabaoku.com) - 原文链接:http://www.dabaoku.com/jiaocheng/cms/dedecms/200910162005.shtml

    责任编辑:好织梦