|
板凳
楼主 |
发表于 2013-10-10 13:06:06
|
只看该作者
本帖最后由 世界没有真情 于 2013-10-10 13:13 编辑
没什么不一样啊- <script type="text/javascript">
- var editortxtNavConnect;
- var editortxtIndexConnect;
- var editortxtIndexIntro;
- var editortxtNavIntro;
- function onReady() {
- editor2();
- editor1();
- editor3();
- editor4();
- }
- // 提交数据之前同步到表单隐藏字段
- X.util.beforeAjaxPostBackScript = function () {
- editortxtNavConnect.sync();
- editortxtIndexConnect.sync();
- editortxtIndexIntro.sync();
- editortxtNavIntro.sync();
- };
- function updateeditor(content1, content2, content3, content4) {
- }
- function editor1() {
- editortxtNavConnect = new UE.ui.Editor({
- initialFrameWidth: '100%',
- initialFrameHeight: 80,
- minFrameHeight: 80,
- autoFloatEnabled: false,
- initialContent: '',
- toolbars: [
- ['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript',
- 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', 'insertimage', 'imagefloat']]
- });
- editortxtNavConnect.render("txtNavConnect");
- window.setTimeout(function () {
- editortxtNavConnect.setContent('asdf');
- }, 100);
-
- }
- function editor2() {
- editortxtIndexConnect = new UE.ui.Editor({
- initialFrameWidth: '100%',
- initialFrameHeight: 80,
- minFrameHeight: 80,
- autoFloatEnabled: false,
- initialContent: '',
- toolbars: [
- ['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript',
- 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', 'insertimage', 'imagefloat']]
- });
- editortxtIndexConnect.render("txtIndexConnect");
-
- window.setTimeout(function () {
- editortxtIndexConnect.setContent('55');
- }, 100);
- }
- function editor3() {
- editortxtIndexIntro = new UE.ui.Editor({
- initialFrameWidth: '100%',
- initialFrameHeight: 80,
- minFrameHeight: 80,
- autoFloatEnabled: false,
- initialContent: '',
- toolbars: [
- ['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript',
- 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', 'insertimage', 'imagefloat']]
- });
- editortxtIndexIntro.render("txtIndexIntro");
- window.setTimeout(function () {
- editortxtIndexIntro.setContent('55');
- }, 100);
- }
- function editor4() {
- editortxtNavIntro = new UE.ui.Editor({
- initialFrameWidth: '100%',
- initialFrameHeight: 80,
- minFrameHeight: 80,
- autoFloatEnabled: false,
- initialContent: '',
- toolbars: [
- ['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript',
- 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', 'insertimage', 'imagefloat']]
- });
- editortxtNavIntro.render("txtNavIntro");
-
- window.setTimeout(function () {
- editortxtNavIntro.setContent('546');
- }, 100);
- }
-
- </script>
复制代码 |
|