# QuickLink Web Menu (oval style)

How to Use...
Class Files: QuickLinkRound.class, MenuBit.class, ocjwkey.class Notice Tag: QuickLink, v1, Copyright (c) 1996 OpenCube Technologies Registered (Unique Key ID#) Parameter 1 must be included in the applet tag, but the applet will work without parameters 2-20 included. It works with default values. Each default parameter value is overridden upon the inclusion of its param name and value in the applet tag. In other words, the main menu width will be the default width until it is specified otherwise in the applet tag by a line like: <param name="MainWidth" value="175"> We suggest that you experiment with minimal parameter definitions until you get a feel for how the applet works. Color definition. QuickLink uses the same color definition scheme as HTML. Except that the number that describes a color in QuickLink must be specified in decimal as an integer between 0 and 16777215 decimal (0 and FFFFFF hex). Reading from left to right, the red component of the color is contained within the first FF component of the hex number, the green component is in the second FF component, and the blue is in the last FF component. This may sound daunting, but if you have a calculator that can convert between the two formats it isn't. (The calculator that is shipped with Windows95 has this function.) Color Encoding. Just pick a red component between decimal 0 and 255. Convert it to its hexadecimal equivalent (e.g., 255 = FF), this is now the first component of the three component hexadecimal number (i.e, FF????). Do the same with the green (second), and blue (third) components. Then convert the resulting hexadecimal number to decimal. Use this number in the appropriate color related applet parameter tag. Parameter 1 Attribute: Copyright notice. param name="Notice" value="QuickLink, v1, Copyright (c) 1996 OpenCube Technologies Registered (Unique Key ID#)" Note: This must be included for the applet to work. Parameter 2 Attribute: Offset from the top of the applet panel. param name="MainTopOffset" value="X", where X is the space between the top of the applet panel and the first main menu cell. Parameter 3 Attribute: The space between main menu cells. param name="MainInterMenuSpace" value="X", where X is the space between main menu cells. Parameter 4 Attribute: The number of main menu cells. param name="MainMenuCount" value="X", where X is the number of main menu cells. Parameter 5 Attribute: The maximum number of submenu cells for any given main menu cell. param name="MaxSubCount" value="X", where X is the maximum number of submenu cells for any given main menu cell, i.e., if main menu #4 has 8 submenu cells and this is the greatest number of submenu cells for any given main menu cell, then the value for the parameter "MaxSubCount" would be 8. Parameter 6 Attribute: The width of each main menu cell. param name="MainWidth" value="X", where X is the width of each main menu cell. Parameter 7 Attribute: The height of each main menu cell. param name="MainHeight" value="X", where X is the height of each main menu cell. Parameter 8 Attribute: The width of each submenu cell. param name="SubWidth" value="X", where X is the width of the submenu cells. Parameter 9 Attribute: The height of each submenu cell. param name="SubHeight" value="X", where X is the height of each submenu cell. Parameter 10 Attibute: The background color. param name="BackgroundColor" value="X", where X is a color defined as described above. Parameter 11 Attibute: The color of each main menu cell. param name="MainMenuColor" value="X", where X is a color defined as described above. Parameter 12 Attribute: The color of each submenu cell. param name="SubMenuColor" value="X", where X is a color defined as described above. Parameter 13 Attribute: The highlight color for any given highlighted menu cell. param name="HighlightColor" value="X", where X is a color defined as described above. Parameter 14 Attribute: The font for all ASCII strings. param name="Font" value="STRING", where STRING is a font name, i.e., Courier, Times, .... Parameter 15 Attribute: The font pt. size for all ASCII strings. param name="FontSize" value="X", where X is a pt size for the font defined by "Font". Parameter 16 Attribute: The color for main menu cell resource descriptions. param name="MainTextColor" value="X", where X is a color defined as described above. Parameter 17 Attribute: The color for submenu cell resource descriptions. param name="SubTextColor" value="X", where X is a color defined as described above. Parameter 18 Attribute: The color of text in a highlighted main menu cell. param name="MainHighLightedTextColor" value="X", where X is a color defined as described above. Parameter 19 Attribute: The color of text in a highlighted submenu cell. param name="SubHighlightedTextColor" value="X", where X is a color defined as described above. Parameter 20 Attribute: The X (horizontal) coordinate start all submenus. param name="SubMinX" value="X", where X is an integer specifying the minimum distance from the left border of the applet panel. Parameter 21 through N, where N is the number of main menu cells minus 1. Attribute: Resource descriptions and locations. param name="mdX", where X is 0 through N (remember N is the number of main menu cells minus 1). value="STRING_1.D|STRING_1.L|X|STRING_2.D|STRING_2.L|...", where STRING_1.D is a description of a resource to link to (e.g., Order Information), or a description of a collection of resources described and linked to in this main menu cell's submenu cells (e.g., a general product or service description with descriptions and links to specific products or services in the submenus), STRING_1.L is a URL associated with the description in STRING_1.D or a blank space if you don't want to link to a resource from this main menu cell (see discussion below), X is the number of submenu cells for this main menu cell, STRING_2.D is a description of a resource to link to (e.g., following the example given above, a specific product or service your company offers), STRING_3.L is a URL associated with the description in STRING_2.D or a space if you don't want to link to a resource from this submenu cell. Be sure to provide a blank space in the URL definition area of a "mdX" parameter if you aren't providing a URL for a given menu description. This is described in more detail below; take a look at the example HTML files included for a better picture of what the applet tag needs to look like. For example, you want your third main menu cell called "Services" to bring up a submenu with descriptions of links to 2 related resources, but you don't want the main menu cell to be linked to anything. The parameter would look like this in the applet tag: <param name="md2" value="Services| |2|Related Service 1|http://www.yourcompany.com/ service1.html|Related Service 2|http://www.yourcompany.com/service2.html|Related Service 3| http://www.yourcompany.com/service3.html"> (Remember that each parameter can occupy only one line in your HTML files.)

© 1996, OpenCube Technologies