usage of cute editor in iframe and resizing

Last post 06-19-2005, 3:13 AM by rcroeder. 1 replies.
Sort Posts: Previous Next
  •  06-19-2005, 2:47 AM 7748

    usage of cute editor in iframe and resizing

    Hi,
     
    I use the Editor within an Iframe, which works great because I resize the frame to the proper size. With the introduction of the +/- expansion button I run into the headache of not being able to resize correctly. I would suggest a standin javascript routine that can be redefined when the + or - button are pushed. Any thoughts on this?
  •  06-19-2005, 3:13 AM 7749 in reply to 7748

    Re: usage of cute editor in iframe and resizing

    Found a work around. I needed to modify the include_CuteEditor.asp file to add the following on line 2

    < script language='javascript' >
    function OnResize(){}
    < /script >
     
    and on line 604 to add ;OnResize()  to the two onclick events for two images + and -
     
    I do not recommend anyone else attempt this, but suggest that this or something like this be added to the application. After the editor has been loaded I redefine then OnResize javascript function to call my iframe resize function.
View as RSS news feed in XML