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

  •  04-20-2006, 10:58 PM

    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

View Complete Thread