消防卿大爷 發表於 2023-8-21 00:00:00

织梦DedeCms v5.6/5.7 新图集页面增加图片下载功能

<p>
        <span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>编辑打开 /templets/default/images/photo/heiphoto.js </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>查找 if(sina.isIE) </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>在 </span></p>
<div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
        <p class="right">
                <span><u>复制代码</u></span></p>
        <p>
                代码如下:</p>
</div>
<p class="msgborder" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
        <br>
        if(sina.isIE){ <br>
        this.ImgObj1.src = 'http://i0.sinaimg.cn/dy/deco/2008/0331/yocc080331img/news_mj_005.gif'; <br>
        this.ImgObj1.filters.Apply(); <br>
        this.ImgObj1.src = this.filmstrips.src; <br>
        this.ImgObj1.filters.Play(); <br>
        }else{ <br>
        this.ImgObj1.src = this.filmstrips.src; <br>
        for(i = 0;i &amp;lt;= 3;i ++){ <br>
        this._timeOut = setTimeout("epidiascope.ImgObj1.style.opacity = " + i * 0.3,i * 100); <br>
        }; <br>
        this._timeOut = setTimeout("epidiascope.ImgObj1.style.opacity = 1;",4 * 100); <br>
        }; </p>
<p>
        <br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>下面增加一行 </span></p>
<div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
        <p class="right">
                <span><u>复制代码</u></span></p>
        <p>
                代码如下:</p>
</div>
<p class="msgborder" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
        <br>
        document.all.imgsrcs.href=(this.ImgObj1.src); </p>
<p>
        <br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>然后在<u>图片</u>内容页找个合适的放方增加一行 &lt;a href="#" /&gt;
        <br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>然后再重新生成一次所有页面,页面就会出现[右键另存为下载]了。</span></span></p>
頁: [1]
查看完整版本: 织梦DedeCms v5.6/5.7 新图集页面增加图片下载功能