How to Customise the Wring Applet

You'll need a little bit more HTML for this. Also it's important to know that quite a few of these customisations will change the size the Applet takes up on your page - and this will vary from browser to browser! So be sure to allow a few extra pixels when you set its size to allow for this (about 10% should do). <

Now you can start customising the applet. You'll need to insert <PARAM NAME="elementname" VALUE="elementvalue" > tags, between the <APPLET> and <APPLET> tags (or <OBJECT> and </OBJECT> tags if you are using HTML4.0) for each element of the applet you're customising.
You don't have to customise every element - what you don't change will be set to the default values.

Further down this page are three examples of the two applets, customised in various ways, along with the HTML for the customisation. These can be cut and pasted and experimented with until you get the Tunnels and Trolls web-wring applet you like!

This is a list of all the elements that can be customised, the values thay can be set to, and some description and warnings of what not to set them to.

element name

possible values

description

title

anything (T&T please!)

the banner at the top of the applet

fontname

the name of a font

the font used by the applet, best to stick to well known fonts like TimesRoman, Helvetica, Courier, and the like.

fontstyle

0..3

0 =plain, 1 =bold, 2 =italic, 3=bold+italic

titlestyle

0..3

0 =plain, 1 =bold, 2 =italic, 3=bold+italic

fontsize

any point size (9..72)

the size used by the buttons and list

titlesize

any point size (9..72)

the size used by the banner

textcolour

0..255 0..255 0..255

the colour of the text, the numbers correspond to the Red, Green and Blue values for the colour - they must be seperated by single spaces.

background

0..255 0..255 0..255

the background for the whole applet

titlecolour

0..255 0..255 0..255

the background for the banner

listcolour

0..255 0..255 0..255

the background for the list and go button

buttoncolour

0..255 0..255 0..255

the background for the <- -> buttons

showtitle

0 or 1

determines if the banner and <- -> buttons are displayed

Example 1 - every element customised!

<APPLET CODE="TNTWring" CODEBASE="http://www.aegidian.org/tnt/"
WIDTH=340 HEIGHT=64>
<PARAM NAME="title" VALUE="Customized T&T Wring">
<PARAM NAME="fontname" VALUE="Monospaced">
<PARAM NAME="fontstyle" VALUE="1">
<PARAM NAME="titlestyle" VALUE="1">
<PARAM NAME="fontsize" VALUE="10">
<PARAM NAME="titlesize" VALUE="16">
<PARAM NAME="textcolour" VALUE="255 255 0">
<PARAM NAME="background" VALUE="0 0 0">
<PARAM NAME="titlecolour" VALUE="0 0 0">
<PARAM NAME="listcolour" VALUE="0 0 0">
<PARAM NAME="buttoncolour" VALUE="255 0 0">
<PARAM NAME="showtitle" VALUE="1">
</APPLET>

Example 2 - The Wring at its smallest!

<APPLET CODE="TNTWring" CODEBASE="http://www.aegidian.org/tnt/"
WIDTH=300 HEIGHT=32>
<PARAM NAME="showtitle" VALUE="0">
<PARAM NAME="fontname" VALUE="TimesRoman">
<PARAM NAME="fontstyle" VALUE="0">
<PARAM NAME="fontsize" VALUE="9">
<PARAM NAME="background" VALUE="255 255 255">
</APPLET>

Example 3 - The default Wring.

<APPLET CODE="TNTWring" CODEBASE="http://www.aegidian.org/tnt/"
WIDTH=340 HEIGHT=64> </APPLET>