Hi,
I suggest you hide the span after the editor load complete, like the example below.
- <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
- <html>
- <body bottommargin="0" topmargin="0" marginheight="0" marginwidth="0">
- <form name="theForm" action="Get_HtmlContent.asp" method="post" id="Form2">
-
- <span id="HideMe">
- <%
-
- Dim editor
- Set editor = New CuteEditor
- editor.ID = "Editor1"
- editor.Draw()
- %>
-
- </span>
- <input type="BUTTON" onclick="document.getElementById('HideMe').style.display = '';" value="Show">
- <input type="BUTTON" onclick="document.getElementById('HideMe').style.display = 'none';" value="Hide">
- <script type="text/javascript">
- function CuteEditor_OnInitialized(editor) {
- var HideMe = document.getElementById("HideMe");
- HideMe.style.display = "none";
- }
-
- </script>
- </form>
- </body>
- </html>
Regards,
Ken