How to make CuteEditor Invisible (hidden) using JavaScript

Last post 11-09-2005, 7:05 PM by m245. 1 replies.
Sort Posts: Previous Next
  •  11-08-2005, 7:51 PM 12414

    How to make CuteEditor Invisible (hidden) using JavaScript

     
    I am trying to make the cute editor visible / invisible using javascript as follow:
     
    obj_Editor1.visibility='hidden' 

    it works OK except that the toolbar dropdown menus such as Css Class, Size, Images, etc. allways stay visible. 
     
    How can I make the dropdown toolbar items within the cuteEditor toolbar hidden also?
  •  11-09-2005, 7:05 PM 12459 in reply to 12414

    Re: How to make CuteEditor Invisible (hidden) using JavaScript

    I figured it out.  To fix this problem, I first set the Editor to preview mode this will remove all the editor's toolbars, then set the visibility to hidden using a  Javascript function to be called with Onclick event  

    EditorView(Editor1,2)
     
    Editor1.visibility='hidden' 
     
     
     
View as RSS news feed in XML