iTab Parameters
Click an item in the list to the left to find out more about it.


Width & Height
The width and height of the applet are set in the HTML code you add to the web page. Be sure to change the dimensions in the <object> and the <embed> tags.

iTab's width can be as wide or narrow as you like. If the tabs extend beyond the width of the applet, a pair of scroll-buttons are added to enable hidden tabs to be scrolled into view. iTab's height must be sufficient to display the tabs.

To avoid the trial-and-error of finding the best size, set the Testmode parameter to 'yes' and click anywhere inside the applet: the minimum width and height will be shown in a tooltip message. You can then edit the HTML code and set Testmode back to 'no'.

Parameters
The parameters below should be added to your datafile in the form NAME=VALUE (for instance, BgColor=FF0000). Each parameter should be on a separate line. You can leave blank lines in the list to organize the parameters into groups if you want to. The parameter names are not case-sensitive, and neither are the values, so BgColor=FF0000 is the same as bgcolor=ff0000. You can add the parameters to your file in any order. Most parameters have a default value which we show in bold text below: if you don't include the parameter in your datafile, the default value will be used automatically.

AnimationSpeed
A choice of normal or fast to set the speed of iTab's tab-scrolling animation when the scroll-buttons are clicked, or when a partially-hidden tab is selected. The default setting is normal.

BgColor
Sets the background color of the applet, which is visible beside and between the tabs if Transparent is set to 'no'. The default value is 000000 (black). (Note that iTab can only change the background color after it has loaded. To have the same background color shown before the browser starts loading the applet, change the BgColor setting in the HTML code too.)

DefaultTarget
Every tab can link to a separate URL, and it can open it into a separate frame or window: we provide numbered Target parameters for that. However, you probably want most (or maybe all) the links to open into one particular frame (such as an IFRAME). Enter the frame or IFRAME name in this parameter, and every item without its own Target parameter will open the link into this 'default' frame. You can also use the HTML names _self, _top, _parent, _blank or _new. If you leave this parameter out of your datafile, links will open into _self (the frame or window containing the applet).

Font
Sets the name, size and style of font to use for the tabs, with each part separated by commas. The default is Sans,8,plain.

  • Name: You can include any number of font names, separated by pipe symbols (|), and the applet will use the first font available on the user's system. To ensure compatibility, finish with one of these generic names: Sans, Serif or Typewriter.
  • Size: The size of the font in points.
  • Style: The style can be plain, bold, italic or bold-italic.
An example font parameter would be: Comic Sans MS|Verdana|Arial|Sans,9,bold.

LineUseSelectedColors
A choice of yes or no to specify whether the thin line running the width of the applet below the tabs should follow the same color scheme as the selected tab (Yes) or the non-selected tabs (No). The default is no. (If your SelectedTabColor matches your TabColor, this parameter has no effect.)

Name
Specifies a name for this instance of the applet. This is only necessary if you are using the applet in conjunction with our free Satellite add-on, and it's explained in the documentation for Satellite, available from the Cool Focus web site. If you are not using Satellite with this applet, it's best not to include this parameter in your datafile (although nothing bad will happen if you do).

SelectedTab
Sets the index number of the tab that should be selected when the applet first appears. One tab must always be selected, and the default is 1 (selecting the first tab).

ShowVersion
A yes or no value. This parameter is included in all Cool Focus Flash applets, and its default is no. If set to 'yes', the version number of the applet (and other details) will be shown when the applet starts. This is included only for troubleshooting purposes, to help you determine which version of an applet you're using. It should be set to 'no' (or removed from your datafile) before you publish your page.

Note: If the applet is not registered, this information will always be shown when the applet starts, regardless of the ShowVersion parameter's setting.

SoundTab
Specifies the absolute or relative URL of an MP3 audio file to play when a tab is selected. If you don't want to play a sound for this event, just leave this parameter out of your datafile.

TabColor
Sets the fill color of the tabs. The default is 0099CC (light blue).

TabGradientColor
Sets the lower color of the tabs' gradient fill. If no gradient fill is wanted, leave this parameter out of your datafile, or set it to match your TabColor (which is its default setting).

TabHighlightColor
Sets the color of the highlighted edges of the tabs. The default is 00CCFF (very light blue).

TabShadowColor
Sets the color of the shadowed edges of the tabs. The default is 0080B0 (dark blue).

SelectedTabColor
Sets the fill color of the selected tab. The default, if this parameter is not included, is to match your TabColor.

SelectedTabGradientColor
Sets the lower color of the selected tab's gradient fill. If no gradient fill is wanted, leave this parameter out of your datafile, or set it to match your SelectedTabColor (which is its default setting).

SelectedTabHighlightColor
Sets the color of the highlighted edges of the selected tab. The default, if this parameter is not included, is to match your TabHighlightColor.

SelectedTabShadowColor
Sets the color of the shadowed edges of the selected tab. The default, if this parameter is not included, is to match your TabShadowColor.

TextColor
Sets the color of the text on a tab when not focused or selected. The default is 000000 (black).

TextFocusColor
Sets the color of the text on a tab when the mouse moves over it. The default is 99CCFF (light gray).

TextSelectColor
Sets the color of text on a tab when the tab is selected. The default is F0F0FF (blue-white).

Testmode
A yes or no value, with a default of 'no'. This parameter is included in most Cool Focus Flash applets, and is used to help you determine the best width and height for the applet. (Because of this, it's best to use this parameter when you've got everything in the applet the way you want it.) Set this parameter to 'yes', then view the applet in your browser and click anywhere inside the applet. You'll see the minimum width and height displayed in a tooltip message, and you can copy these values into the page's HTML code. When you're done, remember to set the Testmode parameter back to 'no' or delete it from your datafile.

Note: If you've specified a list of font names in the applet's font parameters, it's a good idea to check that the applet will be big enough whichever of those fonts is used: with Testmode set to 'yes', move each font name to the beginning of the list and refresh the page to see if Testmode reports that larger dimensions are needed.

Transparent
A choice of yes or no to whether iTab's background should be transparent in compatible browsers. If transparent, the HTML page background (or other HTML content) will be visible beside and between the tabs. The default is no. Note that if this parameter is set to 'yes', the animation used when scrolling the tabs will be much slower due to the extra amount of processing required. However, if your applet is wide enough that the tabs never have to be scrolled, there should be no difference in the applet's performance.

UseHandCursor
A choice of yes or no (with a default of no) to whether the hand cursor should be shown when the mouse moves over a linking tab. Although the appearance of a hand-cursor is natural for web links, it's not normally used with tab controls, so we've left the decision to you.

Tabs
The three parameters below create the tabs on the menu. You must include at least one Tab parameter, or iTab will display nothing at all!

The parameters all have numbers after their names, and the numbers must be consecutive, starting from 1. If you want to show 5 tabs, but you forget to include a Tab4 parameter, iTab will stop looking for any more, and will only find tabs 1 to 3.

Tab1, Tab2, ..., Tabn
These parameters specify the text you want iTab to display for each tab. The tabs will be displayed in numerical order, starting from 1, and you can include as many tabs as you like. If the applet isn't wide enough to display all the tabs, a pair of scroll-buttons will appear allowing tabs to be scrolled into view.

URL1, URL2, ..., URLn
The URL to which the Tab with the same number should link when clicked. If you don't want the tab to act as a link, don't include a URL parameter for it. To make items behave like links in all respects except linking somewhere (which can be useful for testing), use a dollar sign ($, or when encoded, %24) as the first character of the URL.

Target1, Target2, ..., Targetn
The name of the frame or window into which the URL with the same number should open. If you don't include this parameter, the frame name set in the DefaultTarget parameter will be used.