where can I down load the external style sheet example

Last post 04-25-2006, 4:04 PM by Adam. 4 replies.
Sort Posts: Previous Next
  •  04-20-2006, 7:20 PM 18404

    where can I down load the external style sheet example

    where can I down load the external style sheet example: Using-External-Style-Sheets.asp
     
    How do I call the external style sheet example?  I didnt not get it with my version of cuteeditor asp.  I also dont see how to call the style sheet in the documentation that you provide... please help!!
  •  04-20-2006, 10:58 PM 18407 in reply to 18404

    Re: where can I down load the external style sheet example

    This is the source code of the above example:
     
    <!-- #include file = "CuteEditor_Files/include_CuteEditor.asp" -->
    <html> 
        <head>
      <link rel="stylesheet" href="asp.css"  type="text/css" />
      <script language="JavaScript">
      function jumpTo(strMenu) {
       if (strMenu.value != "")
        top.location.href = strMenu.value;
       return true;
      }
      </script>
      
      <%
       Dim css
       css = "style.css"
       
       if Request.QueryString("css") <> "" then
        css = Request.QueryString("css")
       end if
         %>
     </head>
        <body bottomMargin=0 leftMargin=0 topMargin=0 rightMargin=0 marginwidth="0" marginheight="0">
     <form name="theForm" action="/asp/Get_HtmlContent.asp" method="post">
      <table cellSpacing="0" cellPadding="3" border="0">
       <tr>   
        <td width=10 nowrap></td>
        <td valign="top">
         <h1>Using External Style Sheets</h1>
         <hr>
         <div class="infoBox">With Cute Editor, you can specify the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported.
         </div>
         
         <table id="RadioList" border="0">
           <tr>
            <td>
             <input type="radio" name="RadioList" value="/ASP/Using-External-Style-Sheets.asp?css=style.css" onclick="jumpTo(this)" language="javascript" ID="Radio1"/>style.css</td>
            <td>
             <input type="radio" name="RadioList" value="/ASP/Using-External-Style-Sheets.asp?css=backgroundimage.css" onclick="jumpTo(this)" language="javascript" ID="Radio2"/>backgroundimage.css</td>
            <td>
             <input type="radio" name="RadioList" value="/ASP/Using-External-Style-Sheets.asp?css=style.css,backgroundimage.css" onclick="jumpTo(this)" language="javascript" ID="Radio3"/>style.css+backgroundimage.css</td>
           </tr>
          </table>
          
          <br />
          <%
           dim content
           Dim editor
           Set editor = New CuteEditor
           
           editor.ID = "Editor1"
           editor.Text = css
           'editor.FilesPath = "/ASP/CuteEditor_Files"
           editor.EditorBodyStyle = "font:normal 12px arial;"
           editor.EditorWysiwygModeCss = css
           editor.Draw()
                            
           ' Request.Form(ID) access from other page
          %>
           
          <br/><br/>
        </td>
       </tr>
       </table>
      </form>
     </body>
    </html>

    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

  •  04-21-2006, 8:29 AM 18413 in reply to 18407

    Re: where can I down load the external style sheet example

    So is this the only way you can get a background image to load into the editor area?
  •  04-25-2006, 4:04 PM 18494 in reply to 18413

    Re: where can I down load the external style sheet example

    epicweb,

    Please check the following example:
     
     
    <%
          dim content
          content = "" 
          Dim editor
          Set editor = New CuteEditor
          
          editor.ID = "Editor1"
          editor.Text = content
          editor.EditorBodyStyle = "background-image:url(/images/cutechat_girl.jpg)"
          editor.EditorWysiwygModeCss = "asp.css"
          editor.Height="600"
          editor.Draw()

     %>
     

    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