MMBrickMenu
Manual Copyright Mandomartis Software Company 1999, all rights reserved |
INTRODUCTION In this freeware menu, the menu items will rotate into their place from random distance. A 3d effect is is used for the menu item movements. The applet has the following features:
Before using this applet you must read the license agreement.
APPLET INFORMATION
DEPENDENT FILES The following files must be included with the applet in order for it to function properly: mmbrickmenu.class
GENERAL PARAMETERS This applet is configurable with normal HTML applet parameters. The first thing that must be done is to configure the applet main tags: <APPLET CODE="mmbrickmenu.class" WIDTH=450 HEIGHT=70> </APPLET> As you can see, the size in the example is 450x70 pixels. You can change the dimensions to whatever size you wish. However, you take note that sometimes a big applet requires more processing power which may be hard for some computers. The following parameters may not be changed: <PARAM name="mandomartis0" value="This is an applet from Anibal's Essential Applets package"> These are Mandomartis credits are are used to identify the applet. The following parameter controls the general frame delay in milliseconds, and thus the frames per second (FPS). The default value is 70: <PARAM name="delay" value="70">
SETTING UP THE MENU ITEMS WITH DESCRIPTIONS, URLS AND TARGET FRAMES Write each menu item using the "item" parameter like this: <PARAM name="item0" value="Main"> Specify your first menu item in the parameter "item0", in "item1" you specify the second menu item and so on. The same system of adding items is applied for the item descriptions which will appear at the bottom of the applet ("description"), the URLs ("url") and target frame name for each URL ("target") respectively: <PARAM name="description0" value="Click here to go to the main page"> Now the content of "description0" will be displayed when you move the mouse pointer across the area where "item0" is. If you click on that item then the applet will jump to the URL "http://www.yourhost.com/index.html". Note the "http://" and the host on each URL. You MUST specify full URLs. Relative URLs will not work with this applet. If a target frame name has been specified then the URL will be invoked on that specific frame. The values "_top", "_self", "_left" and so on, are standard built-in HTML target frames.
SELECTING COLORS With the "textcolor" parameter you can specify the color of the menu items: <PARAM name="textcolor" value="ffff00"> The "selectedtextcolor" is activated when you move the mouse pointer across a menu item. The menu item will change to this color. <PARAM name="selectedtextcolor" value="000000"> The "brickbackgroundcolor" and the "brickbacksidecolor" are the front and back colors of the bricks. Note that the "brickbackgroundcolor" is ineffective if you are using a brick image: <PARAM name="brickbackgroundcolor" value="ffffff"> The "backgroundcolor" is only effective if you do not use a background image. <PARAM name="backgroundcolor" value="003f00"> The "decriptiontextcolor" and the "descriptionbackgroundcolor" are the colors that the description text and window will have. <PARAM name="descriptiontextcolor" value="00ff00"> <PARAM name="descriptionbackgroundcolor" value="ffff7f">
FONT PARAMETERS The font parameters affect the font type ("font" parameter), font size ("fontsize" parameter) and the font style ("bold" and "italic" parameters): <PARAM name="font" value="Helvetica"> The font types can be "TimesRoman", "Helvetica", "Courier" and "Dialog". If you want the font style to be bold or italic then specify the value "Yes" on these parameters.
OTHER PARAMETERS The background image for the applet and for all the bricks can be specified by using the "backgroundimage" and "brickimage" parameters: <PARAM name="backgroundimage" value="background.gif"> These parameters overrides the "backgroundcolor" and "brickbackgroundcolor" parameters effect respectively, if you specify them. By leaving these parameters blank you can disable the images and use the colors instead. Note that the images will be resized to have the same dimensions as the applet and the bricks respectively. Use the "brickwidth" and "brickheight" parameters to set the dimensions of the bricks: <PARAM name="brickwidth" value="100"> The menu can be set to an horizontal or vertical menu by specifying "Yes" or "No" as a value in the "horizontal" parameter: <PARAM name="horizontal" value="yes"> The "descriptiontextspeed" and the "descriptionwindowwidth" parameters are used to set the description text scrolling speed and the description window width: <PARAM name="descriptiontextspeed" value="5"> <PARAM name="descriptionwindowwidth" value="50"> Use the "pathspeed" to increase the initial menu item animation speed: <PARAM name="pathspeed" value="10"> With the "nrotations" parameter you can set the number of turns you want your items to make: <PARAM name="nrotations" value="4"> By setting the "animateoneitem" parameter to "yes" each menu item will rotate into place one by one, otherwise all of them will move into place at once: <PARAM name="animateoneitem" value="yes">
EXAMPLE OF A FULL CONFIGURATION The following HTML text is an example of an applet configuration: <APPLET CODE="mmbrickmenu.class" WIDTH=450 HEIGHT=70>
|
© Copyright 1999 Mandomartis Software Company |