The method of adding picture download function to the new atlas page of dream weaving DedeCms v5.6amp 5.7
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