Discuz教程网

[代码修改] Discuz X2 只需一点小小的修改,让你的“站长推荐”更加生动!

[复制链接]
authicon dly 发表于 2011-5-23 23:30:00 | 显示全部楼层 |阅读模式
截图561.jpg




  1. <p align="left">投资的道路诸多不顺,你是否有许多技术疑难问题想了解却苦于无人解答?那就在论坛的相关版块发贴提问吧,我们会定期对问题进行解答,此服务完全免费!</p>
  2. <p align="center"><hr width=269 size=1 color=#CCCCCC align=center noshade> </p>
  3. <SCRIPT Language="JavaScript">
  4. tips = new Array(5);
  5. tips[0] = "<p align="left"style="color: #FF0000">有问题一直得不到解决?试试“<a href="http://www.luxintong.com/forum-108-1.html">悬赏提问</a>\”吧。</p>";
  6. tips[1] = "<p align="left"style="color: #FF0000">不熟悉论坛操作?来看下“<a href="http://www.luxintong.com/forum-67-1.html">这里</a>"。</p>";
  7. tips[2] = "<p align="left"style="color: #FF0000">想了解最新银行汇率?“<a href="http://www.luxintong.com/plugin.php?id=whpj:index">外汇牌价</a>”可以帮你。</p>";
  8. tips[3] = "<p align="left"style="color: #FF0000">想迅速获得虚拟币?那就尝试去“<a href="http://www.luxintong.com/plugin.php?id=promotion:promotion">推广</a>”吧。</p>";
  9. tips[4] = "<p align="left"style="color: #FF0000">今天你“<a href="http://www.luxintong.com/plugin.php?id=dsu_paulsign:sign">签到</a>”了吗?</p>";
  10. index = Math.floor(Math.random() * tips.length);
  11. document.write("<CENTER>" + tips[index] + "</CENTER><P>");
  12. </SCRIPT>
复制代码

把内容修改成自己的东西,链接修改成自己的网站,然后粘贴到下图的示的位置。
tips数组数量的多少自己可以自由设置,弄好之后前台会随机显示你设置的这些信息,会员每刷新一次网页,就会显示其中的一条。显示信息可以根据自己的需要设置,比如我是让它显示论坛帮助信息。
预览:http://www.luxintong.com




上一篇:Discuz X2 帖子列表页显示头像(含等级进度条) V2.1 。
下一篇:我的分类信息出了问题
authicon mxl1983413 发表于 2011-5-24 13:50:44 | 显示全部楼层
真快呀!
顶我自己
authicon lanyuqing 发表于 2011-5-24 19:59:56 | 显示全部楼层
楼主威武
authicon 计晨 发表于 2011-5-28 12:59:37 | 显示全部楼层
谢谢,学习了
authicon 风中徜徉 发表于 2011-6-20 03:00:47 | 显示全部楼层
哦哦,发财了啊,看到好东西啦
authicon 夕梨二世 发表于 2011-6-20 12:59:56 | 显示全部楼层
顶啦,不错吧
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2024-5-16 17:03

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表