Re: each room different skin / how cn i make new skins

  •  10-06-2004, 12:07 PM

    Re: each room different skin / how cn i make new skins

     
    I maked a mistake.
     
    please change
    Line 7:  string onlineid=Manager.Connect(CurrentUser,Request.UserHostAddress);
    to :
    string onlineid=Manager.Connect(CurrentUser,Request.UserHostAddress,null).OnlineId;
     
    We haven't write document for the skinning yet .
    If you want to create your owner skin , the main steps are:
     
    1. Create A folder to : CuteChat/Skins/YourFolderName
    2. Create style.css and layout_ie.js , you could refer the samples
    3. Set it to the web.config : <skins defaultFolder="YourFolderName">
     
    the function InitializeChatLayout(skinfolder) is to creating layout table , and add the elements into the table .
    You could find the element name in ChatUI_IE.ascx , such as 'divtop' ,' divmessagescontainer',''divroomtitle','divbottom'... etc
     
     
    Regards , Terry .
     
     
View Complete Thread