Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

86圈的百宝箱功能差一个文件,这里补全

[复制链接]
lakespoon 发表于 2009-10-31 04:45:59 | 显示全部楼层 |阅读模式
UCHome插件
语言编码: GBK简体 UTF8简体 
插件名称: 86圈百宝箱
插件作者: 86圈
适用版本: UCHome 2.0
其实大家都发现了那个frame文件缺失了,我到作者的站里看了一下 把它挖了出来 编写代码如下,保存文件frame.htm到netbar文件夹
  1. <!--{template header}-->
  2. <script type="text/javascript">
  3. function SetCwinHeight(){
  4.   var netbar=document.getElementById("netbar"); //iframe id
  5.   if (document.getElementById){
  6.    if (netbar && !window.opera){
  7.     if (netbar.contentDocument && netbar.contentDocument.body.offsetHeight){
  8.      netbar.height = netbar.contentDocument.body.offsetHeight;
  9.     }else if(netbar.Document && netbar.Document.body.scrollHeight){
  10.      netbar.height = netbar.Document.body.scrollHeight;
  11.     }
  12.    }
  13.   }
  14. }
  15. </script>
  16. <iframe width="100%" id="netbar" onload="Javascript:SetCwinHeight()" height="1" frameborder="0" src="netbar/index.htm"></iframe>
  17. <!--{template footer}-->
复制代码
回复

使用道具 举报

sunhaoze 发表于 2009-10-31 07:03:15 | 显示全部楼层
缺失什么了?
回复

使用道具 举报

Imabird 发表于 2009-11-2 11:56:33 | 显示全部楼层
帮顶..........
回复

使用道具 举报

coldhair 发表于 2009-11-2 12:15:08 | 显示全部楼层
不太明白、、、
回复

使用道具 举报

Imabird 发表于 2009-11-3 10:36:45 | 显示全部楼层
做个记号...
回复

使用道具 举报

im3e 发表于 2009-12-22 09:38:33 | 显示全部楼层
本帖最后由 im3e 于 2009-12-22 09:39 编辑

我可安装了,不要让我删除它,请你说明白一点,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-17 08:17 , Processed in 0.112840 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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