Re: Getting CSS drop down to work

  •  01-10-2007, 4:03 PM

    Re: Getting CSS drop down to work

    Thanks for the help.
     
    The first method I was unable to do as i do not have a folder CuteEditor_Files/Configuration/ or a file in the directories called common.config  As a licence holder am i able to get the latest version?
     
     
    The second option when putting in the code as below i get the following error.
     
     Error Message: Object doesn't support this property or method: 'CssClassStyleDropDownMenuNames'
     
     
     
     <%
    Dim editor
        Set editor = New CuteEditor
        
        editor.ID = "ArticleName"
        editor.Text = rsArticleToEdit("ArticleName")
        editor.FilesPath = "/CuteEditor_Files"
        editor.ImageGalleryPath = "/newsadmin/Uploads/Images"
        editor.maxImageSize = 300
        editor.DocumentPath = "/newsadmin/Uploads/Documents"
        editor.maxDocumentSize = 2500
        editor.MediaPath = "/newsadmin/Uploads/Media"
        editor.maxMediaSize = 700
        editor.FlashPath = "/newsadmin/Uploads/Flash"
        editor.maxImageSize = 300
        editor.AutoConfigure = "None"
        editor.ThemeType="Office2003"
        editor.EditorBodyStyle = "font:normal 12px arial;"
         'Programmatically populate the CSS Class dropdown. 
              editor.CssClassStyleDropDownMenuNames = "RedColor,Highlight,Bold Green Text"
              editor.CssClassStyleDropDownMenuList = "RedColor,Highlight,BoldGreen"
        'editor.AutoConfigure = "EnableAll"
        'editor.Template= "Bold,Italic,Underline"
        editor.Width = 740
        editor.Height = 50
        editor.EditorWysiwygModeCss = "/newsadmin/generic.css"
        editor.Draw()
    %>
View Complete Thread