Removing elements

Last post 08-08-2007, 11:49 AM by RichardLaw. 2 replies.
Sort Posts: Previous Next
  •  08-08-2007, 3:32 AM 32265

    Removing elements

    Hi
     
    I’d like to remove 2 interface elements from the CuteChat interface – the ‘Select a Channel’ drop down menu, and the ‘Whisper to’ drop down at the bottom.
     
    Could someone please advise how I can achieve this?
     
    Many thanks
    Richard
  •  08-08-2007, 9:50 AM 32300 in reply to 32265

    Re: Removing elements

    Richard,
     
    Open CuteSoft_Client\CuteChat\ChatUI.xml and find the following code:
     

          <td style="width:18px;">
           <input type="checkbox" id="checkbox_whisper" onchange="SetWhisper(this.checked);"/>
          </td>
          <td>
           <label for="checkbox_whisper">[[UI_Whisper]]</label>
          </td>
     
    and change it to:
     

          <td style="width:18px;">
           <input type="checkbox" id="checkbox_whisper" style="display:none" onchange="SetWhisper(this.checked);"/>
          </td>
          <td>
           <label style="display:none" for="checkbox_whisper">[[UI_Whisper]]</label>
          </td>
     
    Find the following code:
     
    <Class TypeName="ChannelList" BaseType="HtmlSource"  Focusable="True" Height="42" Visible="False">
     
    And change its constructor to:
     
     <Constructor>
        <![CDATA[
         this.SetVisible(false);
        ]]>
       </Constructor>
     
     

    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

  •  08-08-2007, 11:49 AM 32310 in reply to 32300

    Re: Removing elements

    Thank you Adam, worked a peach!
    Regards
View as RSS news feed in XML