Re: Set Height in script doesn't change the Framestyle height in Firefox

  •  02-28-2008, 1:38 AM

    Re: Set Height in script doesn't change the Framestyle height in Firefox

    FredD,
     
    >>I've downloaded and installed the latest version
     
    Can you create a seperate application to test the following code?
     

    <%@ Page Language="C#"%>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    <html>
        <head>
        <title>SetHeight - JavaScript API</title>
       <script language="JavaScript" type="text/javascript" >  
       function SetHeight(val)
       {
        // get the cute editor instance
        var editor1 = document.getElementById('<%=Editor1.ClientID%>');
        if(val)
         editor1.SetHeight(val);
       }   
       
      </script>
     <body>
            <form runat="server">
          <h1>SetHeight - JavaScript API</h1>
          This example shows you how to use CuteEditor JavaScript API to customize the application.
          <br><br>
          <CE:Editor id="Editor1" Width="560" TemplateItemList="[Save,Bold,Italic,Underline,InsertChars,InsertEmotion]" ThemeType="OfficeXP" Height="250" runat="server"></CE:Editor><br />
          <p style="width:600">  
          <INPUT type=button value="SetHeight - 100" onclick="SetHeight(100)" ID="Button2">
          <INPUT type=button value="SetHeight - 200" onclick="SetHeight(200)" ID="Button2">
          <INPUT type=button value="SetHeight - 400" onclick="SetHeight(400)" ID="Button2">
          <INPUT type=button value="SetHeight - 800" onclick="SetHeight(800)" ID="Button2">
      </form>
     </body>
    </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