discuz

推荐列表 站点导航

当前位置:首页 > 建站教程 > discuz >

discuz的右侧工具栏 scrolltop 修改

来源:网络整理  作者:  发布时间:2020-12-14 03:38
请问discuz的右侧工具栏(有回到顶部,返回板块),但是我想再添加点东西,可是我百度了,也从源码里找了好久,...

请问discuz的右侧工具栏(有回到顶部,返回板块),但是我想再添加点东西,可是我百度了,也从源码里找了好久,都没找到解决方法,请问可以教一下吗?
首先他要修改的地方就是返回顶部的按钮。
 

discuz的右侧工具栏 scrolltop 修改

其实这一块的代码很好找到。


discuz的右侧工具栏 scrolltop 修改

完整代码:

<div id="scrolltop"> <!--{if $_G[fid] && $_G['mod'] == 'viewthread'}--> <span><a href=http://w2289556365/discuz/"forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span> <!--{/if}--> <span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span> <!--{if $_G[fid]}--> <span> <!--{if $_G['mod'] == 'viewthread'}--> <a href=http://w2289556365/discuz/"forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a> <!--{else}--> <a href=http://w2289556365/discuz/"forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}</b></a> <!--{/if}--> </span> <!--{/if}--> </div> <script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>  

代码所在区域
 


相关热词: discuz

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/jz/discuz/3600.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

discuz的右侧工具栏 scrolltop 修改

2020-12-14 编辑:

请问discuz的右侧工具栏(有回到顶部,返回板块),但是我想再添加点东西,可是我百度了,也从源码里找了好久,都没找到解决方法,请问可以教一下吗?
首先他要修改的地方就是返回顶部的按钮。
 

discuz的右侧工具栏 scrolltop 修改

其实这一块的代码很好找到。


discuz的右侧工具栏 scrolltop 修改

完整代码:

<div id="scrolltop"> <!--{if $_G[fid] && $_G['mod'] == 'viewthread'}--> <span><a href=http://w2289556365/discuz/"forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span> <!--{/if}--> <span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span> <!--{if $_G[fid]}--> <span> <!--{if $_G['mod'] == 'viewthread'}--> <a href=http://w2289556365/discuz/"forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a> <!--{else}--> <a href=http://w2289556365/discuz/"forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}</b></a> <!--{/if}--> </span> <!--{/if}--> </div> <script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>  

代码所在区域
 


本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/jz/discuz/3600.shtml

相关文章

风云图片

推荐阅读

返回discuz频道首页