Previous Next Up FAQ Table of Contents

7.2 WebVolanoChat Applet

This is a demonstration of the WebVolanoChat applet that embeds the chat room directly in the Web page. Surrounding this element with your own HTML elements, including graphics, animation, and even other Java applets allows you to create a completely brandable and customizable interface.

The WebVolanoChat applet has an additional parameter not available with the VolanoChat or MyVolanoChat applet:

title
defines the text string to be placed as the title of the applet. If no title is given, the room name is used for the applet title.
Note: The WebVolanoChat applet creates only public rooms. It does not use the public parameter that is available with the MyVolanoChat applet.
WebVolanoChat entrance

Figure 1: WebVolanoChat entrance.

The applet tag that embeds the applet shown above is:

<applet codebase="vcclient"
        archive="COM/volano/WebVolanoChat.jar"
        code="COM.volano.WebVolanoChat.class"
        width="500" height="300">
<param name="cabbase" value="COM/volano/WebVolanoChat.cab">
<param name="color"   value="#FFFFFF">
<param name="group"   value="Web Room Demo">
<param name="text"    value="english.txt">
</applet>

When the visitor enters a name and optional profile and clicks enter, they enter the embedded chat room which looks like:

WebVolanoChat applet chat room

Figure 2: WebVolanoChat applet chat room.

Additionally, you can use this applet with dynamically generated Web pages to place your visitors directly into a chat room without any initial prompting at all by simply filling in the username and profile parameters with their corresponding values for that visitor.

The following tags will place the user "chatlover" with the profile "I love VolanoChat!!" directly into the room, bypassing the WebVolanoChat entrance.

<applet codebase="vcclient"
        archive="COM/volano/WebVolanoChat.jar"
        code="COM.volano.WebVolanoChat.class"
        width="500" height="300">
<param name="cabbase"  value="COM/volano/WebVolanoChat.cab">
<param name="color"    value="#FFFFFF">
<param name="group"    value="Web Room Demo">
<param name="text"     value="english.txt">
<param name="username" value="chatlover">
<param name="profile"  value="I love VolanoChat!!">
</applet>
Tip: Be sure to fill in the profile field or the user will be prompted for it. If you don't want to assign a profile, use a blank space by defining it as "&nbsp;".

Previous Next Up FAQ XHTML 1.0 Table of Contents

2014-07-11 — An updated version of the VOLANO chat server that supports the latest Java 8 Plug-in is now available. More…

The VOLANO® chat software for the Java™ platform lets you build on-line communities and add real-time social networking to your Web site. More…

John Neffenger <john@status6.com>
More…

A PROJECT OF STATUS:6®