Re: editable window (iframe) does not show?

  •  07-20-2009, 12:26 PM

    Re: editable window (iframe) does not show?

    Please try this example:
     
     
    1. <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>   
    2. <html>       
    3.     <head>   
    4.         <script language="javascript">   
    5.         function hide()   
    6.         {   
    7.             document.getElementById("div1").style.display="none";   
    8.         }   
    9.         function show()   
    10.         {   
    11.             document.getElementById("div1").style.display="block";   
    12.         }   
    13.         </script>   
    14.     </head>   
    15.      <body>   
    16.     <form name="theForm" action="/Get_HtmlContent.php" method="post">   
    17.         <div id="div1">   
    18.           
    19.           <?php   
    20.                 $editor=new CuteEditor();   
    21.                 $editor->ID="Editor1";   
    22.                 $editor->Text="Hello World";   
    23.                 $editor->Draw();   
    24.                 $editor=null;   
    25.                    
    26.                 //use $_POST["Editor1"]to catch the data    
    27.             ?>   
    28.         </div>   
    29.             <hr>   
    30.             <a onclick="hide()" href="#">Hide</a> |    
    31.             <a onclick="show()" href="#">Show</a>   
    32.         </form>   
    33.     <script>   
    34.         hide();   
    35.     </script>   
    36.     </body>   
    37. </html>  

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread