关 键 词: 美丽 广场 小学四年级 12200字
字 数: 12200字作文
本文适合: 小学四年级
作文来源: https://Zw.liuxuequn.com
作文网(zw.liuxuequn.com)提示:我们欢迎所有使用和拷贝我们的作文,只需在页面保留我们的版权信息即可。
本作文是关于小学四年级12200字的作文,题目为:《美丽的沫若广场》,欢迎大家踊跃投稿。
?丱ʽ ">ƕͨ ">ґ???/option>?ꌢһ ?ꌢ??on>?ꌢȽ ?ꌢ˄ ?ꌢΥ ?ꌢ? ?ꌢƟ ז̥ ˎ̥ ??̥ ?‹μ/option>?ʩ ӗԲ Arial Arial Black Arial Narrow Brush Script MT Century Gothic Comic Sans MS Courier Courier New MS Sans Serif Script System Times New Roman Verdana Wide Latin Wingdings ז?ż/option>һ?ż/option>??tion>Ƚ?ż/option>˄?ż/option>Υ?ż/option>??ż/option>Ɵ?ż/option> 美丽的沫若广场 沙湾是我的家乡。那里风景优美,物产丰富。令人神往的地方可不少:美丽的沫若广场、迷人的余溪河、可爱的街心花园…….而我最喜欢的是沫若广场。来到广场,首先看见的是一尊铜像,它就是大名鼎鼎的诗人——郭沫若。郭沫若手拿着一本书,背对着大渡河,眼里眺望着远方,似乎把沙湾的变化看在眼里,记在心里。
广场左边右边都是一块块草坪,当春天来时,草坪上就会开出五颜六色的花:有的红、有的白、有的紫。这些花芬芳迷人、争奇斗艳,真像个美丽的大花坛。
穿过草坪中间的那些弯弯曲曲的小路,我们就来到了健身区。到了晚上那里响起音乐,老老少少们都跳起了交际舞、秧歌舞,他们的舞姿婀娜多姿,非常优美。健身区后边就是音乐喷泉了,每天到了晚上7点,人们就会不约而同地去广场上观看喷泉。当音乐响起,水花就跟美妙的交响乐的旋律一高一低地喷射,这时,许多小朋友,会到喷泉里玩,结果,他们成了落汤鸡。
啊!
沫若广场,你真美啊!
沙湾小学三年级一班 刁一心 10% 25% 50% 75% 100% 150% 200% 500% "+sMenu); oPopDocument.close(); height+=2; if(lefter+width > document.body.clientWidth) lefter=lefter-width; oPopupMenu.show(lefter - leftoff - 2, topper - topoff + 22, width, height, document.body); return false; } // Ӓ???ҥ??ʽש?ዙ /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ?༭Ʒɨփ ??ʽש??ʼ /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ?ı䱠??Ǹ?߶ȍ function sizeChange(size){ if (!BrowserInfo.IsIE55OrMore){ alert("?˹?ĜШҪIE5.5?汾Ҕɏ?Ė??֣?"); return false; } for (var i=0; i=100){ obj.height=height+size; } break; } } } // ?콝?? function onKeyDown(event){ var key = String.fromCharCode(event.keyCode).toUpperCase(); // F2:ϔʾ?ؖ?????ի if (event.keyCode==113){ showBorders(); return false; } if (event.ctrlKey){ // Ctrl+Enter:̡?? if (event.keyCode==10){ doSubmit(); return false; } // Ctrl++:Զ?ӱ༭Ǹ if (key=="+"){ sizeChange(300); return false; } // Ctrl+-:??༭Ǹ if (key=="-"){ sizeChange(-300); return false; } // Ctrl+1:ɨ?Ƅ?ʽ if (key=="1"){ setMode("EDIT"); return false; } // Ctrl+2:??ʽ if (key=="2"){ setMode("CODE"); return false; } // Ctrl+3:??΄?? if (key=="3"){ setMode("TEXT"); return false; } // Ctrl+4:Ԥ? if (key=="4"){ setMode("VIEW"); return false; } } switch(sCurrMode){ case "VIEW": return true; break; case "EDIT": if (event.ctrlKey){ // Ctrl+D:?ӗordճ̹ if (key == "D"){ insert('word'); return false; } // Ctrl+R:?镒̦?? if (key == "R"){ findstr(); return false; } // Ctrl+Z:Undo if (key == "Z"){ format('undo'); return false; } // Ctrl+Y:Redo if (key == "Y"){ format('redo'); return false; } } if(!event.ctrlKey && event.keyCode != 90 && event.keyCode != 89) { if (event.keyCode == 32 || event.keyCode == 13){ saveHistory() } } return true; break; default: if (event.keyCode==13){ var sel = HtmlEdit.document.selection.createRange(); sel.pasteHTML(""); event.cancelBubble = true; event.returnValue = false; sel.select(); sel.moveEnd("character", 1); sel.moveStart("character", 1); sel.collapse(false); return false; } // Ɓ?Ί¼? if (event.ctrlKey){ // Ctrl+B,I,U if ((key == "B")||(key == "I")||(key == "U")){ return false; } } } } //???????㊂??function onMouseUp(event,TemplateType){ } //Html ?ꇩ???? function UpdateToolbar(){ } function GetAllAncestors(){ var p = GetParentElement(); var a = []; while (p && (p.nodeType==1)&&(p.tagName.toLowerCase()!='body')) { a.push(p); p=p.parentNode; } a.push(HtmlEdit.document.body); return a; } function GetParentElement(){ var sel=GetSelection(); var range=CreateRange(sel); switch (sel.type) { case "Text": case "None": return range.parentElement(); case "Control": return range.item(0); default: return HtmlEdit.document.body; } } function GetSelection(){ return HtmlEdit.document.selection; } function CreateRange(sel){ return sel.createRange(); } function SelectNodeContents(Obj,pos){ var node=Obj.el; EditControl=node; for (var i=0;i= 0; i--) { curr = fonts[i]; if (curr.style.backgroundColor == "#ffffff") curr.outerHTML = curr.innerHTML; } } // ʇ?Ж????Ѝ?Ŀؼ?function isControlSelected(tag){ if (HtmlEdit.document.selection.type == "Control") { var oControlRange = HtmlEdit.document.selection.createRange(); if (oControlRange(0).tagName.toUpperCase() == tag) { return true; } } return false; } // Ő?ϊǷ༭״̬ function validateMode(){ if (EditMode) return true; alert("ǫψ?㱠??Ʒς???ġ??༭????ť?????༭??״̬??Ȼ??Ӄϵͳ?༭??Ĝ!"); HtmlEdit.focus(); return false; } // ז̥??? function format(what,opt){ if (!validateMode()) return; if (opt=="removeFormat"){ what=opt; opt=null; } if (opt==null) HtmlEdit.document.execCommand(what); else HtmlEdit.document.execCommand(what,"",opt); pureText = false; HtmlEdit.focus(); } //ԝʱ?⾶һς΄??Դ«????ֆճ̹?Ďʌ⡣ function format2(what,opt){ if (opt=="removeFormat"){ what=opt; opt=null; } if (opt==null) HtmlEdit.document.execCommand(what); else HtmlEdit.document.execCommand(what,"",opt); pureText = false; HtmlEdit.focus(); } // ОսUndo/Redo var history = new Object; history.data = []; history.position = 0; history.bookmark = []; // ???怺ʷ function saveHistory() { if (bEditMode){ if (history.data[history.position] != HtmlEdit.document.body.innerHTML){ var nBeginLen = history.data.length; var nPopLen = history.data.length - history.position; for (var i=1; i 0){ HtmlEdit.document.body.innerHTML = history.data[--history.position]; setHistoryCursor(); } // redo } else { if (history.position < history.data.length -1){ HtmlEdit.document.body.innerHTML = history.data[++history.position]; setHistoryCursor(); } } } // ɨփ??ǰʩǩ function setHistoryCursor() { if (history.bookmark[history.position]){ r = HtmlEdit.document.body.createTextRange() if (history.bookmark[history.position] != "[object]"){ if (r.moveToBookmark(history.bookmark[history.position])){ r.collapse(false); r.select(); } } } } // End Undo / Redo Fix function setMode(NewMode){ if (!BrowserInfo.IsIE55OrMore){ if ((NewMode=="CODE") || (NewMode=="EDIT") || (NewMode=="VIEW")){ alert("HTML?༭ģʽШҪIE5.5?汾Ҕɏ?Ė??֣?"); return false; } } if (NewMode=="TEXT"){ if (sCurrMode==ModeEdit.value){ if (!confirm("???棡ǐ??????΄??ģʽ?ᶪʧĺ˹Ӑ?ĈTML??ĺȷȏǐ??°??")){ return false; } } } var sBody = ""; switch(sCurrMode){ case "CODE": if (NewMode=="TEXT"){ HtmlEdit_Temp_HTML.innerHTML = HtmlEdit.document.body.innerText; sBody = HtmlEdit_Temp_HTML.innerText; }else{ sBody = HtmlEdit.document.body.innerText; } break; case "TEXT": sBody = HtmlEdit.document.body.innerText; sBody = HTMLEncode(sBody); break; case "EDIT": if (NewMode=="TEXT"){ sBody = HtmlEdit.document.body.innerText; }else{ sBody = HtmlEdit.document.body.innerHTML; } break; case "VIEW": if (NewMode=="TEXT"){ sBody = HtmlEdit.document.body.innerText; }else{ sBody = HtmlEdit.document.body.innerHTML; } break; default: sBody = ContentEdit.value;; break; } sCurrMode = NewMode; ModeEdit.value = NewMode; setHTML(sBody); } // ̦??̘ʢז?? function HTMLEncode(text){ text = text.replace(/&/g, "&") ; text = text.replace(/"/g, """) ; text = text.replace(//g, ">") ; text = text.replace(/'/g, "’") ; text = text.replace(/ /g,""); text = text.replace(/n/g,""); text = text.replace(/t/g,""); return text; } // ȡ?༭Ʒ?Ąڈݍ function getHTML(){ var html; if((sCurrMode=="EDIT")||(sCurrMode=="VIEW")){ html = HtmlEdit.document.body.innerHTML; }else{ html = HtmlEdit.document.body.innerText; } if (sCurrMode!="TEXT"){ if ((html.toLowerCase()==" ")||(html.toLowerCase()==" ")){ html = ""; } } return html; } // ɨփ?༭Ʒ?Ąڈݍ function setHTML(html){ ContentEdit.value = html; switch (sCurrMode){ case "CODE": setMode0.src="https://img.liuxuequn.comEditor/images/Editor.gif"; setMode1.src="https://img.liuxuequn.comEditor/images/html2.gif"; setMode2.src="https://img.liuxuequn.comEditor/images/browse.gif"; setMode3.src="https://img.liuxuequn.comEditor/images/Text.gif"; HtmlEdit.document.designMode="on"; HtmlEdit.document.open(); HtmlEdit.document.write(edithead); HtmlEdit.document.write(Resumeblank(html)); HtmlEdit.document.close(); HtmlEdit.document.body.innerText=Resumeblank(html); HtmlEdit.document.body.contentEditable="true"; CurrentMode=1; EditMode=false; SourceMode=true; PreviewMode=false; bEditMode=true; break; case "EDIT": setMode0.src="https://img.liuxuequn.comEditor/images/Editor2.gif"; setMode1.src="https://img.liuxuequn.comEditor/images/html.gif"; setMode2.src="https://img.liuxuequn.comEditor/images/browse.gif"; setMode3.src="https://img.liuxuequn.comEditor/images/Text.gif"; HtmlEdit.document.designMode="on"; HtmlEdit.document.open(); HtmlEdit.document.write(edithead); HtmlEdit.document.write(html); HtmlEdit.document.close(); doZoom(nCurrZoomSize); CurrentMode=0; EditMode=true; SourceMode=false; PreviewMode=false; bEditMode=true; break; case "TEXT": setMode0.src="https://img.liuxuequn.comEditor/images/Editor.gif"; setMode1.src="https://img.liuxuequn.comEditor/images/html.gif"; setMode2.src="https://img.liuxuequn.comEditor/images/browse.gif"; setMode3.src="https://img.liuxuequn.comEditor/images/Text2.gif"; HtmlEdit.document.designMode="on"; HtmlEdit.document.open(); HtmlEdit.document.write(edithead); HtmlEdit.document.write(Resumeblank(html)); HtmlEdit.document.body.innerText=html; HtmlEdit.document.body.contentEditable="true"; HtmlEdit.document.close(); CurrentMode=1 EditMode=false; SourceMode=true; PreviewMode=false; bEditMode=true; borderShown = "0"; break; case "VIEW": setMode0.src="https://img.liuxuequn.comEditor/images/Editor.gif"; setMode1.src="https://img.liuxuequn.comEditor/images/html.gif"; setMode2.src="https://img.liuxuequn.comEditor/images/browse2.gif"; setMode3.src="https://img.liuxuequn.comEditor/images/Text.gif"; cleanHtml(); CurrentMode=3; HtmlEdit.document.designMode="off"; HtmlEdit.document.open(); HtmlEdit.document.write(edithead); HtmlEdit.document.write(Resumeblank(html)); HtmlEdit.document.body.contentEditable="false"; HtmlEdit.document.close(); EditMode=false; SourceMode=false; PreviewMode=false; bEditMode=false; break; default: alert("?펳?Ί??"); break; } HtmlEdit.document.onkeydown = new Function("return onKeyDown(HtmlEdit.event);"); HtmlEdit.document.oncontextmenu=new Function("return showContextMenu(HtmlEdit.event);"); HtmlEdit.document.onmouseup = new Function('return onMouseUp(HtmlEdit.event,1);'); if (borderShown != "0" && EditMode) { borderShown = "0"; showBorders(); } initHistory(); HtmlEdit.focus(); } // ϔʾ?ؖ?????ի var borderShown = 0; function showBorders() { if (!document.all){ setTimeout("showBorders()",1000); return; } if (!validateMode()) return; var allForms = HtmlEdit.document.body.getElementsByTagName("FORM"); var allInputs = HtmlEdit.document.body.getElementsByTagName("INPUT"); var allTables = HtmlEdit.document.body.getElementsByTagName("TABLE"); var allLinks = HtmlEdit.document.body.getElementsByTagName("A"); // ? for (a=0; a < allForms.length; a++) { if (borderShown == "0") { allForms[a].runtimeStyle.border = "1px dotted #FF0000" } else { allForms[a].runtimeStyle.cssText = "" } } // Input Hidden? for (b=0; b < allInputs.length; b++) { if (borderShown == "0") { if (allInputs[b].type.toUpperCase() == "HIDDEN") { allInputs[b].runtimeStyle.border = "1px dashed #000000" allInputs[b].runtimeStyle.width = "15px" allInputs[b].runtimeStyle.height = "15px" allInputs[b].runtimeStyle.backgroundColor = "#FDADAD" allInputs[b].runtimeStyle.color = "#FDADAD" } } else { if (allInputs[b].type.toUpperCase() == "HIDDEN") allInputs[b].runtimeStyle.cssText = "" } } // ? for (i=0; i < allTables.length; i++) { if (borderShown == "0") { allTables[i].runtimeStyle.border = "1px dotted #BFBFBF" } else { allTables[i].runtimeStyle.cssText = "" } allRows = allTables[i].rows for (y=0; y < allRows.length; y++) { allCellsInRow = allRows[y].cells for (x=0; x < allCellsInRow.length; x++) { if (borderShown == "0") { allCellsInRow[x].runtimeStyle.border = "1px dotted #BFBFBF" } else { allCellsInRow[x].runtimeStyle.cssText = "" } } } } // ??ӠA for (a=0; a < allLinks.length; a++) { if (borderShown == "0") { if (allLinks[a].href.toUpperCase() == "") { allLinks[a].runtimeStyle.borderBottom = "1px dashed #000000" } } else { allLinks[a].runtimeStyle.cssText = "" } } if (borderShown == "0") { borderShown = "1" } else { borderShown = "0" } scrollUp() } // ???ؒ?æɏ?? function scrollUp() { HtmlEdit.scrollBy(0,0); } // ???摩֤ function save() { if (CurrentMode==0){ //?༭ƷǶȫƤ˻ҳʱʹӃςæբһ?䣨ǫ??form1?ijɏ??û?? parent.myform.Content.value=HtmlEdit.document.body.innerHTML; //????༭ƷʱʹӃςæբһ?䣨ǫ??form1?ijɏ??û?? // self.opener.form1.content.value+=HtmlEdit.document.body.innerHTML; } else if(CurrentMode==1){ //?༭ƷǶȫƤ˻ҳʱʹӃςæբһ?䣨ǫ??form1?ijɏ??û?? parent.myform.Content.value=HtmlEdit.document.body.innerText; //????༭ƷʱʹӃςæբһ?䣨ǫ??form1?ijɏ??û?? // self.opener.form1.content.value+=HtmlEdit.document.body.innerText; } else{ alert("Ԥ?״̬??Ĝ???棡ǫψ?ص??༭״̬???梩; } HtmlEdit.focus(); } // ?첢??ǰʇ???ģʽ function isModeView(){ if (sCurrMode=="VIEW"){ alert("Ԥ?ʱ??ԊЭɨփ?༭ǸĚȝ??"); return true; } return false; } // Ԛ??ǰ΄??λփ?别. function insertHTML(html) { HtmlEdit.focus(); if (isModeView()) return false; if (HtmlEdit.document.selection.type.toLowerCase() != "none"){ HtmlEdit.document.selection.clear() ; } if (sCurrMode!="EDIT"){ html=HTMLEncode(html); } HtmlEdit.document.selection.createRange().pasteHTML(html) ; } //Ђ?ӈ빦Ĝ //?别?? function Insergongneng(what){ if (! validateMode()) return; HtmlEdit.focus(); var range = HtmlEdit.document.selection.createRange(); var ran = HtmlEdit.document.selection.createRange("").text; switch(what){ case "input": range.pasteHTML(''); break; case "textarea": range.pasteHTML(''+ran+''); break; case "radio": range.pasteHTML(''); break; case "checkbox": range.pasteHTML(''); break; case "bottom": range.pasteHTML(''+ran+''); break; } HtmlEdit.focus(); } // ?别ς??˵? function Insermenu(id){ HtmlEdit.focus(); if (! validateMode()) return; var range = HtmlEdit.document.selection.createRange(); var ran = HtmlEdit.document.selection.createRange("").text; var arr = showModalDialog("Editor/editor_insmenu.asp?ChannelID=1001&id="+id, "", "dialogWidth:285pt;dialogHeight:186pt;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); } // ?别̘ʢ?? function Insertlr(filename,wwid,whei,myid){ if (! validateMode()) return; HtmlEdit.focus(); var range = HtmlEdit.document.selection.createRange(); var arr = showModalDialog("Editor/"+filename+"?ChannelID=1001&id="+myid, window, "dialogWidth:"+wwid+"pt;dialogHeight:"+whei+"pt;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); } // ˵?Ųٗ? var nCurrZoomSize = 100; var aZoomSize = new Array(10, 25, 50, 75, 100, 150, 200, 500); // ϔʾ?Ȁ? function doZoom(size) { HtmlEdit.document.body.runtimeStyle.zoom = size + "%"; nCurrZoomSize = size; } // ͼƬʴД ɏς?㍊ function zIndex(action){ var objReference = null; var RangeType = HtmlEdit.document.selection.type; if (RangeType != "Control") return; var selectedRange = HtmlEdit.document.selection.createRange(); for (var i=0; i'" width='"56"> 9.0.0.2710 "); break; case "nowdate": // ?别??ǰϵͳȕƚ var d = new Date(); insertHTML(d.toLocaleDateString()); break; case "nowtime": // ?别??ǰϵͳʱ?䍊 var d = new Date(); insertHTML(d.toLocaleTimeString()); break; case "br": // ?别??А?? insertHTML("") break; case "code": // ???Α? insertHTML(' border="0" cellPadding="6" cellSpacing="0" Ҕςʇ???Σ?'+HTMLEncode(range.text)+''); break; case "quote": // ҽӃƬ?Α? insertHTML(' ҔςʇҽӃƬ?Σ?'+HTMLEncode(range.text)+''); break; case "big": // ז̥?䴳 insertHTML("" + range.text + ""); break; case "small": // ז̥?䐡 insertHTML("" + range.text + ""); break; case "fgcolor": //ז̥ѕɫ if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } var arr = showModalDialog("Editor/editor_selcolor.asp?ChannelID=1001", "", "dialogWidth:18.5em; dialogHeight:17.5em; help: no; scroll: no; status: no"); if (arr != null) format('forecolor', arr); else HtmlEdit.focus(); break; case "fgbgcolor": //ז̥????ɫ if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } var arr = showModalDialog("Editor/editor_selcolor.asp?ChannelID=1001", "", "dialogWidth:18.5em; dialogHeight:17.5em; help: no; scroll: no; status: no"); if (arr != null){ range.pasteHTML(""+range.text+" "); range.select(); } HtmlEdit.focus(); break; case "hr": // ˮƽϟ var arr = showModalDialog("Editor/editor_inserthr.asp?ChannelID=1001", "", "dialogWidth:30em; dialogHeight:12em; help: no; scroll: no; status: no"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "page": //?֒? if(range.text!=""){ alert("ǫ??ҪѡԱȎ?Ύı?"); } else{ range.text="nn[NextPage]nn"; parent.selectPaginationType(); } break; case "word": //wordճ̹ HtmlEdit.document.execCommand("Paste",false); var editBody=HtmlEdit.document.body; for(var intLoop=0;intLoop/g,""); html=html.replace(/o:/g,""); html=html.replace(//g, ""); html=html.replace(//g, ""); html=html.replace(//g, ""); html=html.replace(//g, ""); html=html.replace(//g, ""); html=html.replace(/ /g, ""); html=html.replace(/</P>/g, ""); html=html.replace(/</SPAN>/g, ""); HtmlEdit.document.body.innerHTML = html; format('selectall'); format('RemoveFormat'); break; case "calculator": // ?Ƌㆷ var arr = showModalDialog("Editor/editor_calculator.asp?ChannelID=1001", "", "dialogWidth:205px; dialogHeight:230px; status:0;help:0"); if (arr != null){ var ss; ss=arr.split("*") a=ss[0]; b=ss[1]; var str1; str1=""+a+"" range.pasteHTML(str1); } HtmlEdit.focus(); break; case "help": //? var arr = showModalDialog("Editor/editor_help.asp?ChannelID=1001", "", "dialogWidth:580px; dialogHeight:460px; help: no; scroll: no; status: no"); break; case "FIELDSET": // ?Ŀ? var arr = showModalDialog("Editor/editor_fieldset.asp?ChannelID=1001", "", "dialogWidth:25em; dialogHeight:12.5em; help: no; scroll: no; status: no"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "iframe": //Ě?ҳ var arr = showModalDialog("Editor/editor_insertiframe.asp?ChannelID=1001", "", "dialogWidth:30em; dialogHeight:12em; help: no; scroll: no; status: no"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "insermarquee": // ??ı? var arr = showModalDialog("Editor/editor_marquee.asp?ChannelID=1001", "", "dialogWidth:275pt;dialogHeight:100pt;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "inseremot": // ?别?퇩 var arr = showModalDialog("Editor/editor_emot.asp?ChannelID=1001", "", "dialogWidth:400px;dialogHeight:400px;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "calljsad": // ?别JS?ꇩ var arr = showModalDialog("Editor/editor_ad.asp?ChannelID=1001", "", "dialogWidth:200px;dialogHeight:200px;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "Label": // ?别?ꇩ var arr = showModalDialog("Editor/editor_tree.asp?ChannelID=1001", "", "dialogWidth:230pt;dialogHeight:500px;help:0;status:0"); if (arr != null){ range.pasteHTML(arr); } HtmlEdit.focus(); break; case "editLabel": // ?༭?ꇩ var oControl; var oSeletion; var sRangeType; var zzz=""; oSelection = HtmlEdit.document.selection.createRange(); sRangeType = HtmlEdit.document.selection.type; if (sRangeType == "Control") { if (oSelection.item(0).tagName == "IMG"){ oControl = oSelection.item(0); zzz= oControl.zzz; } var arr = showModalDialog("Editor/editor_label.asp?ChannelID=1001&Action=Modify&Title=О?ıꇩ&editLabel="+zzz+"", window, "dialogWidth:" + 800 + "px;dialogHeight:" + 600 + "px;help:no;scroll:yes;status:no"); if (arr != null){ oControl.zzz=arr } }else{ alert("??Ĝ??html?ԏ); } HtmlEdit.focus(); break; case "InsertEQ": // ??ʽ var arr = showModalDialog("Editor/editor_inserteq.asp?ChannelID=1001", "", "dialogWidth:40em; dialogHeight:20em; status:0;help:0"); if (arr != null){ var ss; ss=arr.split("*") a=ss[0]; b=ss[1]; var str1; str1=" " str1=str1+"" str1=str1+" " range.pasteHTML(str1); } HtmlEdit.focus(); break; case "InstallEQ": // ??װ??ʽ window.open ("Editor/editor_inserteq.asp?ChannelID=1001&Action=Install", "", "height=200, width=300,left="+(screen.AvailWidth-300)/2+",top="+(screen.AvailHeight-200)/2+", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no") break; case "batchpic": //ź?ɏ??ͼƬ var arr = showModalDialog("Editor/editor_insertpic.asp?ChannelID=1001&ShowType=2", "", "dialogWidth:800px; dialogHeight:470px; help: no; scroll: yes; status: no"); if (arr != null){ var ss=arr.split("$$$"); range.pasteHTML(ss[0]); for(var i=1;i<=ss[1];i++){ if (ss[i+1]!="None"){ parent.AddItem(ss[i+1]); } } } HtmlEdit.focus(); break; case "pic": //ɏ??ͼƬ var arr = showModalDialog("Editor/editor_Modifypic.asp?ChannelID=1001&ShowType=2", window, "dialogWidth:" + 500 + "px;dialogHeight:" + 540 + "px;help:no;scroll:yes;status:no"); if (arr != null){ var ss=arr.split("$$$"); for(var i=1;i<=ss[0];i++){ if (ss[i]!=""){ parent.AddItem(ss[i]); } } } HtmlEdit.focus(); break; case "swf": //ɏ??swf var arr = showModalDialog("Editor/editor_insertflash.asp?ChannelID=1001&ShowType=2", "", "dialogWidth:530px; dialogHeight:400px; help: no; scroll: yes; status: no"); if (arr != null){ var ss=arr.split("$$$"); range.pasteHTML(ss[0]); if (ss[1]!="None"){ parent.AddItem(ss[1]); } } HtmlEdit.focus(); break; case "wmv": //ɏ?? wmv var arr = showModalDialog("Editor/editor_insertmedia.asp?ChannelID=1001&ShowType=2", "", "dialogWidth:530px; dialogHeight:500px; help: no; scroll: yes; status: no"); if (arr != null){ var ss=arr.split("$$$"); range.pasteHTML(ss[0]); if (ss[1]!="None"){ parent.AddItem(ss[1]); } } HtmlEdit.focus(); break; case "Attribute": //???༭ var arr = showModalDialog("Editor/editor_Attribute.asp?ChannelID=1001", window, "dialogWidth:" + 600 + "px;dialogHeight:" + 270 + "px;help:no;scroll:yes;status:no"); showBorders(); showBorders(); HtmlEdit.focus(); break; case "rm": //ɏ?? rm var arr = showModalDialog("Editor/editor_insertrm.asp?ChannelID=1001&ShowType=2", "", "dialogWidth:500px; dialogHeight:500px; help: no; scroll: yes; status: no"); if (arr != null){ var ss=arr.split("$$$"); range.pasteHTML(ss[0]); if (ss[1]!="None"){ parent.AddItem(ss[1]); } } HtmlEdit.focus(); break; case "fujian": //ɏ?????? var arr = showModalDialog("Editor/editor_insertfujian.asp?ChannelID=1001&ShowType=2", "", "dialogWidth:31em; dialogHeight:12em; help: no; scroll: no; status: no"); if (arr != null){ var ss=arr.split("$$$"); range.pasteHTML(ss[0]); if (ss[1]!="None"){ parent.AddItem(ss[1]); } } HtmlEdit.focus(); break; case "title": // ɨփ?ꌢ if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } parent.document.myform.Title.value=range.text; break; case "keyword" :// ɨփ?ؼ? if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); } if (parent.document.myform.Keyword.value==""){ parent.document.myform.Keyword.value=range.text; } else{ parent.document.myform.Keyword.value+="|"+range.text; } break; case "ProductName": if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } parent.document.myform.ProductName.value=range.text; break; case "Intro": if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } parent.document.myform.Intro.value=range.text; break; case "ProductIntro": if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; } parent.document.myform.ProductIntro.value=range.text; break; case "ReplaceLabel": var oControl; var oSeletion; var sRangeType; oSelection = HtmlEdit.document.selection.createRange(); sRangeType = HtmlEdit.document.selection.type; if (sRangeType == "Control") { oControl = oSelection.item(0); var arr = showModalDialog("Editor/editor_tree.asp?ChannelID=1001", "", "dialogWidth:230pt;dialogHeight:500px;help:0;status:0"); if (arr != null){ oControl.outerHTML=arr } }else{ alert("??Ĝ??html?ԏ); } HtmlEdit.focus(); break; case "CreateLink"://??ӗ半 var arr = showModalDialog("Editor/editor_CreateLink.asp?ChannelID=1001&LinkName="+range.text+"", window, "dialogWidth:450px; dialogHeight:450px; help: no; scroll: no; status: no"); if (arr != null){ insertHTML(arr); } HtmlEdit.focus(); break; case "pagetitle": //Ěȝҳ?ķ֒??ꇩ var arr=showModalDialog("Editor/editor_Pagetitle.asp?ChannelID=1001","","dialogWidth:400pt;dialogHeight:80px;help:0;status:0"); if(arr!=null){ range.pasteHTML(arr); parent.selectPaginationType(); } HtmlEdit.focus(); break; case "copypagetitle": if (RangeType != "Text"){ alert("ǫψѡԱһ?Ύė֣?"); return; }else{ range.text="[NextPage" + range.text + "]nn" + range.text + ""; parent.selectPaginationType(); } break; case "FilterCode": var arr=showModalDialog("Editor/editor_FilterCode.asp?ChannelID=1001","","dialogWidth:400pt;dialogHeight:340px;help:0;status:0"); if(arr!=null){ var ss=arr.split(","); var strhtml=HtmlEdit.document.body.innerHTML if (ss[0] == "true"){ strhtml = ScriptHtml(strhtml, "Iframe", 2,"") } if (ss[1] == "true"){ strhtml = ScriptHtml(strhtml, "Object", 2,"") } if (ss[2] == "true"){ strhtml = ScriptHtml(strhtml, "Script", 2,"") } if (ss[3] == "true"){ strhtml = ScriptHtml(strhtml, "Style", 2,"") } if (ss[4] == "true"){ strhtml = ScriptHtml(strhtml, "Div", 2,"") } if (ss[5] == "true"){ strhtml = ScriptHtml(strhtml, "Span", 2,"") } if (ss[6] == "true"){ strhtml = ScriptHtml(strhtml, "Table", 2,"") } if (ss[7] == "true"){ strhtml = ScriptHtml(strhtml, "Table", 3,"") strhtml = ScriptHtml(strhtml, "Tbody", 3,"") strhtml = ScriptHtml(strhtml, "Tr", 3,"") strhtml = ScriptHtml(strhtml, "Td", 3,"") strhtml = ScriptHtml(strhtml, "Th", 3,"") } if (ss[8] == "true"){ strhtml = ScriptHtml(strhtml, "IMG", 1,"") } if (ss[9] == "true"){ strhtml = ScriptHtml(strhtml, "Font", 3,"") } if (ss[10] == "true"){ strhtml = ScriptHtml(strhtml, "A", 3,"") } if (ss[11] == "true"){ strhtml = ScriptHtml(strhtml, "Font", 4,ss[12]) } HtmlEdit.document.designMode="pe"; HtmlEdit.document.open(); HtmlEdit.document.write(edithead); HtmlEdit.document.write(strhtml); HtmlEdit.document.close(); doZoom(nCurrZoomSize); CurrentMode=0; EditMode=true; SourceMode=false; PreviewMode=false; bEditMode=true; } break; default: alert("?펳?Ί??"); break; } range=null; } // ԝʱ?⾶һςͨӃДΊ̢ ?镒 function findstr(){ var arr = showModalDialog("Editor/editor_find.asp?ChannelID=1001", window, "dialogWidth:320px; dialogHeight:170px; help: no; scroll: no; status: no"); } // ?别΄?? ??ʽש?ዙ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////