BUG

[ 2224 查看 / 3 回复 ]

if(document.getElementById("posteditor_swocx1").GetDocumentHeight()<=400){
document.getElementById("posteditor_swocx1").height=document.getElementById("posteditor_swocx1").GetDocumentHeight()
}
else{
document.getElementById("posteditor_swocx1").height=400
}

这个没效果啊,document.getElementById("posteditor_swocx1").GetDocumentHeight()
我测试的时候始终是0

脚本是这个论坛自己的。
本主题由 管理员 100011 于 2009-11-13 18:37:06 执行 移动主题 操作
分享 转发
TOP

请到插件专区讨论

这是关于ScienceWord插件的吧,有例子啊,您试一试,看看插件专区给的插件应用论坛的,下载都是能用的
TOP

我现在想得到SciencdWord窗口内文档内容的高度,这个该怎么获得?我在这个论坛的脚本里看到了上面的代码,但是测试没效果呢~?
TOP

如果可以,请加我们相关人员的赛通号问问 161819
后来还加了一些插件的应用实例,您看一看吧
ScienceWord 5.5 网络插件新增:Html/Asp/.Net/Php/Jsp实例,包括存储数据库和读取数据库操作实例
详情:http://www.novoasoft.com/SW_Plug/View01.html
TOP