3 The options parameter

3.1 All options are optional

All options are optional. diputab has reasonable defaults for every option in the options parameter. Although defaults exist you should not count on the values of these defaults, they may change over time. So, if you want to implement a special ‘look and feel’ you should declare your own options.

3.2 textleft, textright, textup, textdown and imagelft

a: imageleft,b:textleft, c: textright, d: textup e: textdown

3.3 backgroundcolor, foregroundcolor, textcolor, selectedcolor, tipcolor, tipbackgroundcolor, mouseovercolor, highcolor, lowcolor and shadecolor

Colors are represented by a hexadecimal value. The first 2 digits are for the red component, the next 2 for the green component and the final 2 for the blue component.
The value of a color component can range from 00 to FF ( 00 = no intensity, FF = full intensity)
e.g. FFFFFF is the hexadecimal representation of white, 000000 is black.

Example

<param name="options" value="
^backgroundcolor|C0C0C0
^foregroundcolor|336699
^textcolor|FFFF00
^selectedcolor|FFFFFF
^tipcolor|000000
^tipbackgroundcolor|FFFFE0
^mouseovercolor|FFFFC0
^highcolor|FFFFFF
^lowcolor|000000
^shadecolor|808080
">

 

3.4 marginleft and marginright

A: marginleft, B: marginright

3.5 baseline, tabheight and indent

A: indent, B: tabheight , C: baseline

 

3.6 scrollbarhorizontaldivider and scrollbarwidth

The initial size (100%) and the scrollbardivider value control the representation of the scrollbar. It can be divided by an integer value of 1 or greater.
e.g. a divider value of 3 will give a 33% coverage of the scrollbar.

 

<param name="options" value="
^scrollbarhorizontaldivider|3
">

<param name="options" value="
^scrollbarhorizontaldivider|5
">

 

 

3.7 frame

Your web document can be divided into different frames. Every frame acts as a container for another web document, effectively creating a hierarchy of (contained) subdocuments.

You can assign a name to each frame individually. By default your browser assigns names to some special frames, such as: _blank (a new frame), _self (this frame), _parent (this frame’s parent) and _top (the uppermost parent frame, the root of the frame hierarchy).

3.8 fontprofile

3.9 showstatus

3.10 tipwait and tipfontprofile

Pop up tips are small messages that pop up whenever there is no user action during a specified period.

 

3.11 overlap

The selected tab will extend 2 pixels above the others. If you also want the selected tab to extend over the adjacent tabs, then you can specify a value for the overlap parameter.

<param name="options" value="
^overlap|0
">

<param name="options" value="
^overlap|6
">

 

3.12 position

The tabs can be positioned at the top or the bottom.

position (integer, values: top or bottom)
The position where the tabs will be located.

<param name="options" value="
^position|bottom
">

 

3.13 connectlineleft and connectlineright

If the tab is used in conjunction with a borderline from another html page a little gap can exist between the tabs and the borderline in the other frame.
Use connectlineleft and connectlineright to connect the tab with the borderline.

<param name="options" value="
^connectlineleft|1
">

 

3.14 baseurl

If you use relative URL’s then baseurl is used to complete your URL.

So if all your link URL’s are located in a directory " /mydirectory" at your web site "http://www.mywebsite.com" than you can define a baseurl "http://www.mywebsite.com/mydirectory".
Now you only have to use the filenames of your URL’s instead of the complete URL in your links parameter.

The default URL for baseurl is the URL of the directory that contains the applet.
So if your applet is located in "http://www.mysite.com/mydirectory/diputab.class", then the baseurl will be "http://www.mysite.com/mydirectory".

baseurl is used in the links parameter.