First Version 5.0 question regarding resizing

Last post 12-30-2005, 7:25 PM by rcroeder. 5 replies.
Sort Posts: Previous Next
  •  12-30-2005, 5:07 AM 14287

    First Version 5.0 question regarding resizing

    In version 5, when the editor lies within an iframe and the the editor is resized by the + or - button, how do I as a programmer know that this event has occurs so I can resize the iframe? Since I have paid for the upgrade to version 5, I would like an answer. I did have the same problem in 4.x version of Cute Edit and I resolved the problem by rewriting the CuteSoft application by creating a generic on resize javascript event.

    You should also include events for on save, changing mode to such as Normal, HTML and Preview. Who knows we really might want to know this stuff.

    RC Roeder
     
     
  •  12-30-2005, 2:32 PM 14295 in reply to 14287

    Re: First Version 5.0 question regarding resizing

    RC Roeder,

    For the first question, I think the solution in the following link should be ok:

    http://cutesoft.net/forums/12876/ShowPost.aspx
     
    >>You should also include events for on save, changing mode to such as Normal, HTML and Preview. Who knows we really might want to know this stuff.

    Please check the new javaScript API example:

    http://cutesoft.net/asp/JavaScript-API.asp



    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

  •  12-30-2005, 4:44 PM 14301 in reply to 14295

    Re: First Version 5.0 question regarding resizing

    LMAO...

    I ask the question about on resizing within an IFRAME for version 5 and you point me to an Forum Post on how to modiy the code to allow IFRAME resizing that I wrote for Version 4. 
     
     
    The second response was regarding how to control CuteEdit by using JavaScript, which in it self may be useful, but was not the question I asked. When designing standard windows applications, control have event that can fire, such as on paint, on resize, on change, onclick. Some HTML elements have events, onclick, onblur, onfocus, ondblclick etc that can invoke a javascipt routines. All I am asking is that there be some simple events about CuteEdit for us to notified about changes that have or about to occur.
     
    RC
  •  12-30-2005, 5:32 PM 14303 in reply to 14301

    Re: First Version 5.0 question regarding resizing

    The post I wrote for resizing will not work for version 5 since you changed the BuildBottomBar javascript function from processing onclick event to adding your own attribute within the tag called Command. Oh am i going to have fun this weekend. I hope to find the how do do the resizing or I will forever have to stay with 4.2. This will also include several of my clients that have purchsed from you.
     
    RC
  •  12-30-2005, 5:53 PM 14305 in reply to 14303

    Re: First Version 5.0 question regarding resizing

    RC,
     
    The code you wrote for the version 4.x shoul also work for the version 5.0
    If you add  the onclick event to the button, the "Command" will be ignored.
     
     

    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

  •  12-30-2005, 7:25 PM 14307 in reply to 14305

    Re: First Version 5.0 question regarding resizing

    If that is true and the Command will be ignored, what is the function of the "Command" attribute? Is it a place holder for future versions? is it possible just to define my own "Command". You have five commands in BuildBottomBar (TabEdit, TabCode, TabView, sizeplus and sizeminus) are these constants or are the passed javascript variables/functions? They are only referenced in the js files that define the browsers (IE,safari,gecko).
     
    What it comes down to, if I put in an onclick and that overrides the Command, what causes the CuteEditor to resize when I click the button????
     
    RC
View as RSS news feed in XML