Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of adding picture download function to the new atlas page of dream weaving DedeCms v5.6amp 5.7

Shulou Source: shulou.com Published: 2022-06-02 04:52:16 10月02日 Update

This article mainly introduces the method of adding picture download function to the new atlas page of Weaving Dream DedeCms v5.6amp 5.7. The article is very detailed and has certain reference value. Interested friends must finish reading it!

Dream DedeCms v5.6Universe 5.7 how to add picture download function to the new atlas page?

Dream weaving DedeCms v5.6amp 5.7 new atlas page adds picture download function, which is actually a right-click download prompt function.

Edit Open / templets/default/images/photo/heiphoto.js

Find if (sina.isIE)

In

The code is as follows:

If (sina.isIE) {this.ImgObj1.src = 'http://i0.sinaimg.cn/dy/deco/2008/0331/yocc080331img/news_mj_005.gif'; this.ImgObj1.filters [0] .Apply (); this.ImgObj1.src = this.roomstrips [num] .src; this.ImgObj1.filters [0] .Play ();} else {this.ImgObj1.src = this.roomstrips [num] .src; for (I = 0

Tags: Pages functions pictures picture downloads atlas content methods one line code appropriateness value interest picture content guys buddies that is more knowledge articles industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple NVidia Shulou Tech Info MySQL