Client Customization

Introduction


Customizing the appearance of individual ParaChat rooms is accomplished through inserting HTML parameters into the base applet HTML code (i.e. the applet HTML sample provided in the testroom.html document). The structure of the ParaChat applet requires certain HTML parameters to be included by default. Optional HTML parameters are added to the base applet HTML to change the appearance of ParaChat rooms that you create.

If you wish to customize all rooms on the chat server without inserting individual HTML parameters into the applet HTML for each room, please see the Server-wide Client Configuration section of the Documentation.

Required values

Parameter Value Example
ServerPort Port number on which the chat server accepts requests. <param name="ServerPort" value="7777">
HTTPPort Specifies the HTTP port to be used for tunneling and save-to-server. The default value for this parameter is 100 above the chat port number. <param name="HTTPPort" value="7877">
Channel Name of the chat room. <param name="Channel" value="#MyChatRoom">
Room Height This value can be changed to increase or decrease your default ParaChat Room height size. HEIGHT=350
Room Width This value can be changed to increase or decrease your default ParaChat Room width size. WIDTH=600


Below is sample ParaChat room HTML code with the new HTML inserted, which is highlighted in red:

    <!-- Begin ParaChat -->
    <applet codebase=http://www.yourdomainname.com:7877/pchat/classes
     archive=pchat.zip code=ParaChat.class HEIGHT=350 WIDTH=600>
    <param name="ServerPort" value="7777">
    <param name="HTTPPort" value="7877">
    <param name="Channel" value="#Your_Room_Name">
    <param name="ui.BgColor" value="FF0000">
    Sorry, but your browser is not Java enabled, and you will not be able to chat
    </applet>
    <!-- End ParaChat -->

Adding the line of code changes the background color of the ParaChat room to red, which has an RGB value of FF0000.

Optional parameters


Below you will find a list of customizable features that you can add to your ParaChat Room(s). You may easily customize your ParaChat room by adding parameters to your ParaChat HTML as demonstrated in the sample above. Simply select the type of customization you desire from the links below, and add the appropriate "HTML Configuration" to your own ParaChat HTML to customize your chat room.

If these parameters are absent, the applet exhibits its default behavior. Do NOT try to set the values of these parameters to anything other than what is specifed.



Home | Hosting | Server | Features | Samples | Chat Now | Web Tools | Help | Affiliate

©1996 - 2002   M Square, Inc. |  Privacy Policy