Javascript error when loading control

  •  07-12-2007, 2:37 PM

    Javascript error when loading control

    I'm having trouble with the CuteEditor in IE6. When the page loads I receive a JavaScript error of 'Permission denied'. I debugged the script and found that the source of this problem is the xml request indicated below. This only happens on an initial test implementation into one of our products. I can't seem to recreate the problem outside this solution. Any ideas/feedback would be welcome so that I can track down this problem. This error doesn't occur in Firefox. This problem is the only thing setting us back in purchasing the software.



    "/Itracks.Products.BBFG/Web/CuteSoft_Client/CuteEditor/Load.ashx?type=scripts&file=IE_Implementation&modified=//2007-07-09 19:54:18

    var OxO2279=[\"\x0D\x0A\",\"document\",\"length\",\"element \x27\",\"\x27 not found\",\"removeNode\",\"parentNode\",\"firstChild\",\"selection\",\"type\",\"None\",\"Control\",\"text\",\"body\",\"\",\"\x26amp;\",\"\x26lt;\",\"\x26gt;\",\"\x26#39;\",\"\x26quot;\",\"\x3Cbr/\x3E\",\"\x26nbsp;\",\"applyElement\",\"nodeName\",\"INPUT\",\"TEXTAREA\",\"BUTTON\",\"IMG\",\"SELECT\",\"TABLE\",\"position\",\"style\",\"absolute\",\"relative\",\"|H1|H2|H3|H4|H5|H6|P|PRE|LI|TD|DIV|BLOCKQUOTE|DT|DD|TABLE|HR|IMG|\",\"|\",\"all\",\"nodeType\",\"value\",\"textContent\",\"childNodes\",\"nodeValue\",\"*\",\"rowSpan\",\"cellIndex\",\"colSpan\",\"Can\x27t Get The Position ?\",\"Map\",\"RowCount\",\"ColCount\",\"rows\",\"cells\",\"Unknown Error , pos \",\":\",\" already have cell\",\"Unknown Error , Unable to find bestpos\",\"rowIndex\",\"nextSibling\",\"srcElement\",\"target\",\"//TODO: srcElement not found? throw error ?\",\"fromElement\",\"relatedTarget\",\"toElement\",\"keyCode\",\"clientX\",\"clientY\",\"offsetX\",\"offsetY\",\"button\",\"ctrlKey\",\"altKey\",\"shiftKey\",\"mergeAttributes\",\"//TODO:Element_MergeAttributes\",\"SPAN\",\"span\",\"\x3Cspan id=\",\"\x3E\x3C/span\x3E\",\"undefined\",\"Microsoft.XMLHTTP\",\" unknown code \",\"caller\",\"?\",\"contentWindow\",\"contentDocument\",\"parentWindow\",\"id\",\"frames\",\"frameElement\",\"//TODO:frame contentWindow not found?\",\"styleFloat\",\"float\",\"-\",\"cssText\",\"__proxy\",\"__styles\",\";\",\"Unknow style item :\",\"compatMode\",\"CSS1Compat\",\"clientHeight\",\"documentElement\",\"clientWidth\",\"Text\",\"htmlText\",\"onchange\",\"oninitialized\",\"command\",\"commandui\",\"commandvalue\",\"returnValue\",\"oncommand\",\"string\",\"event\",\"_fireEventFunction\",\"#0\",\"#1\",\"#2\",\"#3\",\"#4\",\"#5\",\"#6\",\"#7\",\"#8\",\"#9\",\"#a\",\"\x3C\",\"\x3E\",\"\x26\",\"o\",\"O\",\"s\",\"S\",\"e\",\"E\",\"#\",\"\x0A$\x26\",\"$\x26\x0A\",\"\x0A$\x26\x0A\",\"    \",\"\x0A\",\"P\",\"contains\",\"preventDefault\",\"arguments\",\"//TODO: event not found? throw error ?\",\"cancelBubble\",\"stopPropagation\",\"__cuteeditoronkeydown\",\"FullPage\",\"onmousedown\",\"onmousemove\",\"onmouseover\",\"onmouseout\",\"Unregister\",\"onlosecapture\",\"capturemanager\",\"element\",\"AddElement\",\"DelElement\",\"FireLoseCapture\",\"\x3CDIV style=\x27width:0px;height:0px;left:0px;top:0px;position:absolute\x27\x3E\",\"Register\",\"offsetParent\",\"offsetLeft\",\"offsetTop\",\"scrollLeft\",\"scrollTop\",\"getBoundingClientRect\",\"clientLeft\",\"left\",\"clientTop\",\"top\",\"parentElement\",\"currentStyle\",\"ownerDocument\",\"offsetWidth\",\"offsetHeight\",\"innerText\",\"detachEvent\",\"on\",\"attachEvent\",\"UNSELECTABLE\",\"tabIndex\",\"-1\",\"__framepool\",\"IFRAME\",\"display\",\"none\",\"text/html\",\"replace\",\"\x3CHTML\x3E\x3CTITLE\x3E\x3C/TITLE\x3E\x3CBODY style=\x27\x27\x3E\x3C/BODY\x3E\x3C/HTML\x3E\",\"innerHTML\",\"ok\",\"yes\",\"true\",\"1\",\"controls\",\"bookmark\",\".\",\"html\",\"BODY\",\"PanelStyle\",\"display:none;z-index:88888888;font-family:arial;position:absolute;background-color:white;border:1px solid;overflow:auto;overflow-x:visible;overflow-y:auto;font-size:12px;padding:2px;\",\"Min_Height\",\"Max_Height\",\"Tree_Min_Height\",\"BorderColorOver\",\"DarkBlue\",\"BorderColor\",\"White\",\"CheckRemoved\",\"CloseDiv\",\"dispose\",\"FillListItems\",\"FillTreeItems\",\"GetText\",\"GetValue\",\"HookEvent\",\"panel_onmouseup\",\"SelectedItem\",\"SelectOption\",\"SetOptionTo\",\"SetSelectedIndex\",\"ShowDiv\",\"table_onclick\",\"table_onmouseout\",\"table_onmouseover\",\"UpdateDisplay\",\"WinUnload\",\"vars\",\"resourcedir\",\"istree\",\"cursor\",\"default\",\"_hookedEvents\",\"selindex\",\"arr\",\"selected\",\"overflow\",\"visible\",\"cellPadding\",\"cellSpacing\",\"border\",\"height:20px;border-collapse:collapse;\",\"borderColor\",\"width\",\"80px\",\"font-size: 8pt; background-color:white;padding:1px 0px 0px 2px;\",\"width:8px;color:black;text-align:center;font-family:Webdings;font-size:8px;\",\"6\",\"table\",\"td1\",\"hidden\",\"DIV\",\"panel\",\"readyState\",\"complete\",\"px\",\"height\",\"18px\",\"_checkid\",\"unload\",\"onclick\",\"onmouseup\",\"val\",\"txt\",\"name\",\" \",\"function\",\"__applyFunc\",\"NOBR\",\"div\",\"_initialized\",\"option\",\"RichHideFirstItem\",\"width:1px;\",\"Selectable\",\"False\",\"paddingLeft\",\"8px\",\"RenderItemBorder\",\"cursor:default;padding:3px 5px 5px 4px;border:solid 1px #eeeeee; margin:4px 10px 4px 0px; vertical-align:middle;\",\"this.style.borderColor=\x27highlight\x27;\",\"this.style.borderColor=\x27#eeeeee\x27;\",\"cursor:default;padding:2px;vertical-align:middle;\",\"this.style.backgroundColor=\x27highlight\x27;this.style.color=\x27highlightText\x27\",\"this.style.backgroundColor=\x27\x27;this.style.color=\x27\x27\",\"block\",\"panelsized\",\"scrollWidth\",\"scrollHeight\",\"isopen\",\"disabled\",\"visibility\",\"_menuclass_currentmenu\",\"itemdiv\",\"backgroundColor\",\"style_backgroundColor\",\"style_border\",\"margin\",\"style_margin\",\"#B6BDD2\",\"1px solid #0A246A\",\"0px\",\"ismouseover\",\"opentimerid\",\"isdisposed\",\"initialized\",\"oninitialize\",\"items\",\"owner\",\"frame\",\"menu\",\"mouseDownTime\",\"frameBorder\",\"top:0px;left:0px;visibility:hidden;position:absolute;background-color:white;padding:0px;border:0px;width:90px;height:60px;overflow:visible;\",\"zIndex\",\"onerror\",\"menuleft.gif\",\"border:1px solid #666666;padding:1px;margin:1px;overflow:hidden;background-image:url(\",\");background-repeat:repeat-y;\",\"cursor:default;overflow:visible;\",\"overflow:visible;\",\"\x3Cdiv style=\x27overflow:hidden;border-top:1px solid ThreeDShadow;border-bottom:1px solid ThreeDHighlight;height:2px;\x27\x3E\x3C/div\x3E\",\"\x3Ctable border=0 cellspacing=0 cellpadding=0 style=\x27width:100%;height:20px;font:menu;overflow:visible;\x27\x3E\",\"\x3Ctr\x3E\x3Ctd style=\x27width:18px\x27\x3E\",\"imgurl\",\"\x3Cimg width=20 height=20 align=absmiddle border=0 src=\x27\",\"\x27\",\"state\",\" style=\x27\x27 \",\"enable\",\"/\x3E\",\"\x3Cimg width=20 height=0 border=0 /\x3E\",\"hotkey\",\"\x3C/td\x3E\x3Ctd nowrap nowrap align=\x27left\x27 style=\x27width:\",\"px;padding-left:4px;padding-top:2px;padding-right:4px;\",\"color\",\"color:\",\"\x27\x3E\",\"\x3C/td\x3E\",\"\x3Ctd align=\x27left\x27 width=43 style=\x27font:menu;padding-left:1px;padding-top:3px;\x27 rem-disabled=true nowrap\x3E\",\"\x3C/td\x3E\x3Ctd colspan=2 nowrap align=\x27left\x27 style=\x27width:\",\"\x3Ctd align=\x27right\x27 style=\x27width:20px;padding-top:2px;padding-right:2px;\x27\x3E\x3Cspan style=\x27width:20px;\",\";visibility:hidden;\",\";font-family:webdings;font-size:14px;\x27\x3E 4 \x3C/span\x3E\x3C/td\x3E\",\"\x3C/tr\x3E\x3C/table\x3E\",\"cursor:default;margin:1px;width:100%;overflow:visible;\",\"filter:alpha(opacity=40);\",\"MozOpacity\",\"hand\",\"Close\",\"openitem\",\"editor\",\"Dispose\",\"windowblurCloseTimer\",\"Show\",\"blur\",\"mousedown\",\"HideForClick\",\"AddSpliter\",\"Add\",\"AddMenuItem\",\".gif\",\"message\",\"EditorOnPaste\",\"BreakElement\",\"ResourceDir\",\"_FrameID\",\"_HiddenID\",\"_PostBackHandlerID\",\"_ToolBarID\",\"_CodeViewToolBarID\",\"HelpPath\",\"ReadOnly\",\"BaseHref\",\"MaxHTMLLength\",\"0\",\"MaxTextLength\",\"FocusOnLoad\",\"EncodeHiddenValue\",\"True\",\"EditCompleteDocument\",\"EditorBodyStyle\",\"DOCTYPE\",\"UseFontTags\",\"PrintFullWebPage\",\"URLType\",\"Default\",\"EmptyAlternateText\",\"ForceAdd\",\"ServerName\",\"RemoveTBODYTag\",\"UseSimpleAmpersand\",\"UsePhysicalFormattingTags\",\"RenderRichDropDown\",\"EnableAntiSpamEmailEncoder\",\"ConvertHTMLTagstoLowercase\",\"EnableStripScriptTags\",\"AllowEditServerSideCode\",\"EditorWysiwygModeCss\",\"mailto:\",\"$1$2$3$2 href_cetemp=$2$3$2\",\"$1$2$3$2 src_cetemp=$2$3$2\",\"\x3Ctemp_param$1\x3E\x3C/temp_param\x3E\x3Cparam$1\x3E\",\"\x26#\",\"Elements\",\"RegexArray\",\"A\",\"\x3C!--{cps..\",\"}--\x3E\",\"R\",\"/\",\"ContextMenuMode\",\"/Load.ashx?type=contextmenu\x26mode=\",\"POST\",\"onreadystatechange\",\"status\",\"Failed to load menus!\",\"reason\",\"parseError\",\"responseXML\",\"handler\",\"BR\",\"PRE\",\"LI\",\"OL\",\"UL\",\"LEGEND\",\"\x3Cbr\x3E\",\"character\",\"StartToStart\",\"\x3CDIV\x3E\",\"FormatBlock\",\"EndToEnd\",\"_StateID\",\"%3b\",\"s:\",\"n:\",\"b:\",\"boolean\",\"number\",\"=\",\"EditorSetting\",\"setting=\",\"\x26NoCancel=True\",\"/Dialogs/Tag.aspx?Tag=\",\"TagType\",\"tagType\",\"\x26Tab=\",\"editorconstant\",\"SelectFile.Aspx?type=gif,jpg,jpeg,png,bmp\x26file=\",\"status:0;help:0;resizable:0;dialogWidth:560px;dialogHeight:550px;\",\"SelectImage.Aspx?type=gif,jpg,jpeg,png,bmp\x26file=\",\"\x3Cp\x3E\x26nbsp;\x3C/p\x3E\",\"\x3Cp\x3E\x26#160;\x3C/p\x3E\",\"\x3Cp\x3E\x3C/p\x3E\",\"\x3Cdiv\x3E\x26#160;\x3C/div\x3E\",\"\x3Cdiv\x3E\x26nbsp;\x3C/div\x3E\",\"\x3Cdiv\x3E\x3C/div\x3E\",\"hasChildNodes\",\"\x3CP\x3E\",\"\x0A\x3CT\",\"\x3CTD\x3E\",\"\x0A\x3C/TR\x3E\",\"\x3C/TR\x3E\",\"InsertTable\",\"ExecuteDefault\",\"Command \x27\",\"\x27 Is Not Supported Or Not Implemented \",\"\x27 Error : \",\"dropDown\",\"Name\",\"noneditable\",\"Please select a region\",\"Type text here\",\"layerdefaultstyle\",\"_BoxFormattingStyle\",\"unselectable\",\"off\",\"contentEditable\",\"box\",\"layer\",\"align\",\"vAlign\",\"className\",\"bgColor\",\"TD\",\"tempid\",\"/Dialogs/InsertDocument.aspx?\",\"/Dialogs/InsertGallery.aspx?\",\"Please select an image to create an image map\",\"/Dialogs/Load.ashx?Type=Dialog\x26file=ImageMap.htm\x26\",\"/Dialogs/InsertImage.aspx?\",\"/Dialogs/InsertMedia.aspx?\",\"/Dialogs/InsertFlash.aspx?\",\"ExecCommand_Insert \",\" not implemented\",\"flash\",\"media\",\"image\",\"imagemap\",\"gallery\",\"\x3CINPUT TYPE=\",\"head\",\"/Dialogs/Load.ashx?Type=Dialog\x26file=Page.htm\x26\",\"RemoveFormat\",\"EM\",\"STRONG\",\"U\",\"I\",\"B\",\"FONT\",\"_mtd_p.\",\"+\",\"=_mtd_v\",\"fontname\",\"#ce_temp_font#\",\"font\",\"face\",\"\x3E \",\"\x3C/span\x3E\",\"tagName\",\"attributes\",\"specified\",\"__CE_sandbox\",\"1px\",\"Paste\",\"DisableDoubleClickEvent\",\"cetempAnchor\",\"InsertAnchor\",\"(\x3C[^\x3E]+) class=[^ |^\x3E]*([^\x3E]*\x3E)\",\"ig\",\"$1 $2\",\"\x3C$1$3\",\"FIELDSET\",\"justify\",\"center\",\"justifynone\",\"justifycenter\",\"justifyfull\",\"justifyright\",\"justifyleft\",\"QueryEnable\",\"onresize\",\"7777\",\"_visibility\",\"Edit\",\"Express\",\"Code\",\"View\",\"ActiveTab\",\"view\",\"code\",\"edit\",\"runtimeStyle\",\"IsEventInitialized\",\"_editorSourceStyle\",\"textedit\",\"SCRIPT\",\"onunload\",\"href\",\"radioBox\",\"\x3CINPUT TYPE=radio name=\",\" id=\",\" value=\",\"\x3E\x3CLABEL FOR=\",\"\x3C/LABEL\x3E\",\"\x3Clegend\x3E\",\"Title\",\"\x3C/legend\x3E\",\"...\",\"define\",\"100%\",\"SupportEnable\",\"no\",\"QuerySupportEnable\",\"paste\",\"backcolor\",\"forecolor\",\"bringbackward\",\"bringforward\",\"sizeplus\",\"sizeminus\",\"versplitcell\",\"horsplitcell\",\"mergebottom\",\"mergeright\",\"editcell\",\"editrow\",\"deletecell\",\"insertcell\",\"deletecolumn\",\"deleterow\",\"insertrowbottom\",\"insertbottomrow\",\"insertrow\",\"insertrowtop\",\"inserttoprow\",\"insertcolumnright\",\"insertrightcolumn\",\"insertcolumn\",\"insertcolumnleft\",\"insertleftcolumn\",\"tabledropdown\",\"imagegallerybybrowsing\",\"absoluteposition\",\"chromacolor\",\"pasteashtml\",\"pasteword\",\"pastehtml\",\"pastetext\",\"delete\",\"redo\",\"undo\",\"insert\",\"SupportActive\",\"QueryActive\",\"QuerySupportActive\",\"tabview\",\"tabcode\",\"tabedit\",\"fromfullpage\",\"tofullpage\",\"fullpage\",\"full\",\"toggleborder\",\"position:absolute;z-index:999999;display:none;border:1px solid #c0c0c0;background-color:#eeeeee;\",\"\x3Ctable border=0 cellspacing=0 cellpadding=2 style=\x27border-collapse:collapse;font:normal 9pt MS Sans Serif;\x27\x3E\",\"\x3Ctr\x3E\x3Ctd align=center valign=bottom\x3E\",\"Draw Table\",\"\x3C/td\x3E\x3Ctr\x3E\x3Ctr\x3E\x3Ctd align=center\x3E\",\"\x3Ctable id=ce_thetable border=0 cellspacing=0 cellpadding=0 style=\x27cursor:hand;border:1px solid darkgray;width:100px;height:66px;border-collapse:collapse;\x27\x3E\",\"\x3Ctr\x3E\",\"\x3Ctd rowindex=\",\" cellindex=\",\" style=\x27width:16px;height:16px;background-color:white;border:1px solid darkgray;\x27\x3E\x3C/td\x3E\",\"\x3C/tr\x3E\",\"\x3C/table\x3E\",\"\x3C/td\x3E\x3C/tr\x3E\x3Ctr\x3E\x3Ctd align=center id=ce_tddesc\x3E\",\"? x ? Table\",\"\x3C/td\x3E\x3C/tr\x3E\x3Ctr\x3E\x3Ctd align=center\x3E\",\"\x3Cdiv style=\x27cursor:hand;\x27 class=\x27CuteEditorButton\x27 id=\x27ce_tablewizard\x27 onmouseover=\x27CuteEditor_ButtonOver(this)\x27\x3ETable Wizard\x3C/div\x3E\",\"\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E\",\"ce_tablewizard\",\"ce_thetable\",\"rowindex\",\"cellindex\",\"ce_tddesc\",\" x \",\" Table\",\"gray\",\"20px\",\"backgroundRepeat\",\"no-repeat\",\"backgroundImage\",\"url(\",\"/Load.ashx?type=image\x26file=anchor.gif)\",\"_TagListContainer\",\"TFOOT\",\"TBODY\",\"THEAD\",\"#808080\",\"font:normal 11px Tahoma;margin-left:2px;margin-right:2px;border-collapse:collapse;cursor:hand;\",\"vertical-align:bottom;padding:2px;\",\"targetElement\",\"orange\",\"blue\",\"highlight\",\"black\",\"Cut\",\"Copy\",\"styleTab\",\"\x26Style=\",\"colorType\",\"colorValue\",\"Load.ashx?type=dialog\x26file=ColorPicker.Aspx\",\"newtarget\",\"inserttable\",\"Style\",\"page\",\"propertyTab\",\"Style\",\"Font\",\"Font\",\"Font Color\",\"ForeColor\",\"HighLight\",\"BackColor\",\"Float\",\"Layout\",\"Left\",\"floatValue\",\"Right\",\"right\",\"None\",\"fontWeight\",\"Bold\",\"Bold\",\"styleName\",\"styleValue\",\"fontStyle\",\"Italic\",\"Italic\",\"textDecoration\",\"overline\",\"underline\",\"line-through\",\"Overline\",\"Overline\",\"Underline\",\"Underline\",\"Strikethrough Text\",\"strike\",\"Line-Through\",\"overline \",\"underline \",\"line-through \",\"Table\",\"instable\",\"thetd\",\"Select\",\"selectall\"

    if(!window.editorconstant)window.editorconstant={};

    // When creating a table using the Wizard, the following default attributes apply.
    editorconstant._CreateEditingTableStyle = \"<table border='0' cellspacing='2' cellpadding='2' width='500'>\";
    // When creating a new div box, the following default attributes apply.
    editorconstant._BoxFormattingStyle = \"border: solid 1px #666666;\";
    // Default editorconstant ornaments for the ColorPicker dialog
    editorconstant._colorpickerDialogFeature = \"dialogWidth:500px;dialogHeight:335px;help:0;status:0;resizable:1\";
    // Default editorconstant ornaments for the Preview dialog
    editorconstant._previewDialogFeature = \"dialogWidth:640px;dialogHeight:480px;help:0;status:0;resizable:1\";
    // Default editorconstant ornaments for the Anchor dialog
    editorconstant._anchorDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:250px;\";
    // Default editorconstant ornaments for the Link dialog
    editorconstant._linkDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:460px;dialogHeight:214px;\";
    // Default editorconstant ornaments for the Char dialog
    editorconstant._charDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:480px;dialogHeight:385px;\";
    // Default editorconstant ornaments for the find dialog
    editorconstant._findDialogFeature = \"help:0;status:0;resizable:1;dialogWidth:385px;dialogHeight:180px;\";
    // Default editorconstant ornaments for the Emotion dialog
    editorconstant._emotionDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:365px;\";
    // Default editorconstant ornaments for the Template dialog
    editorconstant._templateDialogFeature = \"status:0;dialogWidth:660px;dialogHeight:470px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the Create Template dialog
    editorconstant._createtemplateDialogFeature = \"dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0;\";
    // Default editorconstant ornaments for the Document dialog
    editorconstant._documentDialogFeature = \"status:0;dialogWidth:600px;dialogHeight:560px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the gallery dialog
    editorconstant._galleryDialogFeature = \"status:0;dialogWidth:564px;dialogHeight:630px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the image dialog
    editorconstant._imageDialogFeature = \"status:0;dialogWidth:620px;dialogHeight:595px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the image map dialog
    editorconstant._imagemapDialogFeature = \"status:0;dialogWidth:610px;dialogHeight:400px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the media dialog
    editorconstant._mediaDialogFeature = \"status:0;dialogWidth:580px;dialogHeight:550px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the flash dialog
    editorconstant._flashDialogFeature = \"status:0;dialogWidth:587px;dialogHeight:595px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the page properties dialog
    editorconstant._pageDialogFeature = \"status:0;dialogWidth:490px;dialogHeight:520px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the Tag dialog
    editorconstant._tagDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:453px;dialogHeight:515px;\";
    // Default editorconstant ornaments for the help
    editorconstant._helpDialogFeature = \"status:0;dialogWidth:760px;dialogHeight:450px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the Rule dialog
    editorconstant._RuleDialogFeature = \"help:0;status:0;resizable:1;dialogWidth:340px;dialogHeight:210px;\";
    // Default style in the source view
    editorconstant._editorSourceStyle = \"background:#ffffff;margin:0;padding:0;color:black\";
    // Default editorconstant ornaments for the color picker dialog
    editorconstant._pastetextDialogFeature = \"width=450,height=400,resizable=0,toolbars=0,menubar=0,status=0\";
    // Default editorconstant ornaments for the universal keyboard dialog
    editorconstant._keyboardDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:415px;dialogHeight:310px;\";
    // All colors in the following color array will be used in the editor color picker
    editorconstant.colorsArray = new Array(\"#000000\",\"#993300\",\"#333300\",\"#003300\",\"#003366\",\"#000080\",\"#333399\",\"#333333\",
                \"#800000\",\"#FF6600\",\"#808000\",\"#008000\",\"#008080\",\"#0000FF\",\"#666699\",\"#808080\",
                \"#FF0000\",\"#FF9900\",\"#99CC00\",\"#339966\",\"#33CCCC\",\"#3366FF\",\"#800080\",\"#999999\",
                \"#FF00FF\",\"#FFCC00\",\"#FFFF00\",\"#00FF00\",\"#00FFFF\",\"#00CCFF\",\"#993366\",\"#C0C0C0\",
                \"#FF99CC\",\"#FFCC99\",\"#FFFF99\",\"#CCFFCC\",\"#CCFFFF\",\"#99CCFF\",\"#CC99FF\",\"#FFFFFF\");
    // Specifies whether MoreColors button in the color picker are visible
    editorconstant.ShowMoreColors = true;
    editorconstant.layerdefaultstyle = \"position:absolute;width:104px; height: 104px\";
    editorconstant.DisableCtrlZ = false;
    //By default, when users double click a control, a tag property dialog will open. Set it to true if you want to disable this feature.
    editorconstant.DisableDoubleClickEvent = false;
    editorconstant.AbsolutePositionValue='absolute'; //'relative';

    //set to window for compatible
    for(var p in editorconstant)window[p]=editorconstant[p];





    //enable-gzip"



View Complete Thread