dz!x3/3.4 关闭瀑布流自动加载,开启图片瀑布流模式,如何去除自动加载模式
discuz!自带瀑布流模式,在运用过程中可以根据自己的爱好来设置,但却发现图片模式加载是自动加载下一页的内容的,对于有些站长来说可能不太喜欢,现在分享下取消自动加载的方法 forumdisplay_list.htm是论坛列表页的文件 打开你所用的模版的forum(如果没有这个文件夹,请打开default下的forum) 找到forumdisplay_list.htm 然后找到 [代码]php代码: - wfloading = "<img src="{IMGDIR}/loading.gif" alt="" width="16" height="16" class="vm" /> {lang onloading}...
复制代码删除,上传覆盖,后台更新缓存即可。 第二种方法 找到 static/js/redef.js 文件 [代码]php代码: parent.style.height = totalheight + "px"; 替换为 [代码]php代码: parent.style.height = totalheight "px"; 再查找 [代码]php代码: parent.style.width = totalwidth + "px"; 替换为 [代码]php代码: parent.style.width = totalwidth "px"; |