Discuz教程网

[二次开发] 如何实现Discuz的安装进度显示

[复制链接]
authicon dly 发表于 2014-1-14 08:40:42 | 显示全部楼层 |阅读模式
在安装dz程序的时候会显示一个安装进度,下面摘自oschina
  1. <html xmlns="http://www.w3.org/1999/xhtml"><head>
  2. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  3. <title>Discuz!安装程序</title>
  4. <style type="text/css">
  5. body{ padding:5px 0; background:#FFF; text-align:center; }
  6. body, td, input, textarea, select, button{ color:#666; font:12px/1.5 Verdana, Tahoma, Arial, 'Microsoft Yahei', 'Simsun', sans-serif; }
  7. .container{ overflow:hidden; margin:0 auto; width:700px; height:auto !important;text-align:left; border:1px solid #B5CFD9; }
  8. .main{ padding:20px 20px 0; background:#F7FBFE url(bg_repx.gif) repeat-x 0 -194px; }
  9. .main h3{ margin:10px auto; width:75%; color:#6CA1B4; font-weight:700; }
  10. #notice { overflow: hidden; margin: 20px; padding: 5px; height: 300px; border: 1px solid #B5CFD9; text-align: left; }
  11. </style>
  12. </head>

  13. <body><div class="container">
  14. <div class="main">
  15. <script type="text/javascript">
  16. function showmessage(message) {
  17.                  document.getElementById('notice').innerHTML += message + '<br/>';
  18.                  document.getElementById('notice').scrollTop = 100;
  19. }
  20. </script>
复制代码
游客,如果您要查看本帖隐藏内容请回复




上一篇:如何解决Discuz设置精华帖子之后不显示的问题
下一篇:如何在discuz后台增加功能之后进行权限分配
authicon jonny 发表于 2015-4-27 17:46:42 | 显示全部楼层
给我瞧瞧吧
authicon a364482611 发表于 2016-12-8 13:56:32 | 显示全部楼层
让我看一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2024-5-20 02:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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