fckeditor如何将文字编辑区域的高度变长一些?如何用JS按钮控制 fckeditor如何将文字编辑区域的高度变长一些?如何用JS按钮控制 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.getElementById("id").style.height= document.getElementById("id").style.height+ 10px;这个id是fckeditor在页面上显示的id 什么LS的不行.你自己就不会思考一下呀.晕死..... 饭是要自己嚼的.不是让别人替你吃的....<div><input type="hidden" id="demo" name="demo" value="" style="display:none" /><input type="hidden" id="demo___Config" value="" style="display:none" /><iframe id="demo___Frame" src="/fckeditor/editor/fckeditor.html?InstanceName=demo&Toolbar=Default" width="100%" height="200" frameborder="0" scrolling="no"></iframe></div><input type='button' onclick='change(900)' value='大到900' /><input type='button' onclick='change(200)' value='小到200' /><script>function change(h){ document.getElementById('demo___Frame').style.height=h+'px';}</script> 你这个只能改变框架的大小,伙计!r u sure???? 如果是用层的方式调用的 如何实现??<script language="JavaScript" type="text/JavaScript">//var SiteUrl = "/"; //var Module = "JSPGen"; var sBasePath = 'fckeditor/';var oFCKeditor = new FCKeditor( 'desc' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = '200'; oFCKeditor.Width = '400' ; oFCKeditor.ToolbarSet = 'Introduce'; oFCKeditor.ReplaceTextarea();</script> <img src="images/editor_add.jpg" title='增加编辑器高度' tag='1' fck="desc"/> <img src="images/editor_diff.jpg" title='减少编辑器高度' tag='0' fck="desc"/><div id="MM_file_list_desc"></div><div id='FilePreview' style='z-index: 1000; left: 0px; width: 10px; position: absolute; top: 0px; height: 10px; display: none;'></div>以前看到有朋友用这种方法 但一直不知道“tag='1' fck="desc"”这个是什么意思。 ie表单问题,如果使用input submit可以保存,而input button却不能 网页在线浏览三维模型 怎样 js 动态添加id 谁帮忙把这3个方法放到一起 怎么使网页上后退和刷新按钮失效啊? 怎么能让某个图片随机出现在页面任何位置?/ 关于隐藏table中的一行和重新显示的问题 我在页面中如何调用这个函数,才能让他显示出来? 求树形菜单+弹出菜单的组合菜单 这个问题真让我头痛!!! 求一本javascript 入门的好书 谁有javascript的好教程啊
document.getElementById("id").style.height= document.getElementById("id").style.height+ 10px;这个id是fckeditor在页面上显示的id
<div><input type="hidden" id="demo" name="demo" value="" style="display:none" /><input type="hidden" id="demo___Config" value="" style="display:none" /><iframe id="demo___Frame" src="/fckeditor/editor/fckeditor.html?InstanceName=demo&Toolbar=Default" width="100%" height="200" frameborder="0" scrolling="no"></iframe></div>
<input type='button' onclick='change(900)' value='大到900' />
<input type='button' onclick='change(200)' value='小到200' /><script>
function change(h){
document.getElementById('demo___Frame').style.height=h+'px';
}</script>
//var SiteUrl = "/";
//var Module = "JSPGen";
var sBasePath = 'fckeditor/';
var oFCKeditor = new FCKeditor( 'desc' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Height = '200'; oFCKeditor.Width = '400' ;
oFCKeditor.ToolbarSet = 'Introduce';
oFCKeditor.ReplaceTextarea();
</script>
<img src="images/editor_add.jpg" title='增加编辑器高度' tag='1' fck="desc"/>
<img src="images/editor_diff.jpg" title='减少编辑器高度' tag='0' fck="desc"/>
<div id="MM_file_list_desc"></div>
<div id='FilePreview' style='z-index: 1000; left: 0px; width: 10px; position: absolute; top: 0px; height: 10px; display: none;'></div>
以前看到有朋友用这种方法 但一直不知道“tag='1' fck="desc"”这个是什么意思。