Applet Code

How to add HTML parameters to your applet code.

 

The following is an example on how to add HTML applet code to your current chat room.

If you wanted to change the background color  to FF0000 (red) you would add the following HTML to your chat applet code.

 

<!-- Begin Applet Code -->

<applet codebase="http://demo.parachatpro.com/pchat/demo45/classes"

archive=pchat.zip code=ParaChat.class HEIGHT=400 WIDTH=600>

<param name="cabbase" value="pchat.cab">

<param name="roam.Group" value="Your_Group_Name">

<param name="Channel" value="#Your_Room_Name">

<param name="roam.TopRooms" 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 Applet Code -->

 

 

 

Below is an example of the email that was sent out to you after you placed your hosted chat room order:

 

Access Information:

-------------------

Group name: p000000

Room name: My_Room

Admin user name: admin

Admin password: 45XcRt

 

ParaChat Professional HTML:

---------------------------

 

Your Registered Domain: http://mysite.com

Your Registered Web Page: http://http://www.mysite.com/chat

 

A copy of your applet HTML code is below. Please copy the HTML exactly

as it appears, and place it into the web page referenced above.

 

<!-- Begin Applet Code -->

<applet codebase="http://pro7.parachatpro.com/pchat/pro7/classes"

 archive=pchat.zip code=ParaChat.class height=400 width=600>

<param name="cabbase" value="pchat.cab">

<param name="roam.Group" value="p000000">

<param name="Channel" value="#My_Room">

<param name="roam.TopRooms" value="#My_Room">

<param name="ctrl.Roam" value="true">

Sorry, your browser is not Java enabled, please visit

<a href="http://www.parachat.com/faq/java.html">our java support pages</a>

</applet>

<!-- End Applet Code -->

 

NEXT STEPS:

-----------