how to set different style sheets for normal tab and preview tab?

Last post 08-31-2007, 10:18 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-31-2007, 2:53 AM 33130

    how to set different style sheets for normal tab and preview tab?

    hi~
     
    I'm currently working on a web project based on CuteEditor, which allow user to paste resources, such as PPT, SWF, etc. Each resource was contained in an iframe.
     
    On the normal tab, i tried to hide the resource content and replace it with a background image. but it doesn't work. everything was forced to display.
     
    Is it possible to specify different style sheets for the normal tab and the preview tab?
    or is there any better approaches for this task?
     
    thanks alot~
  •  08-31-2007, 10:18 AM 33139 in reply to 33130

    Re: how to set different style sheets for normal tab and preview tab?

    HamsterKnight,
     
    Yes, Please use the following propery:
     

    Editor.EditorWysiwygModeCss Property

    Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported. Example EditorWysiwygModeCss="example.css,/default.css"

     


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Specifies the location of the style sheet that will be used by the editable area.
               editor.EditorWysiwygModeCss = "example.css,/default.css"
               editor.Text = "Hello World"
               editor.Draw()
          %>

    See Also


    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 as RSS news feed in XML