Quiz software, teaching tools, exam revision aids, learning games, courseware authoring
Java Menus
Java menu homeJava downloadBuy a java menuJava menu help centreContact us
Java menus » Java menu knowledge base

 SEARCH

 MENUS BY TYPE

 Drop-down menus

 Animated buttons

 Tree menus

 Sliding menus

 Tab menus

 Image maps

 MENUS BY NAME

 X-Bar menus

 iPOP menus

 iSlide menus

 iTree menus

 iTab menus

 iMMap menus

 Sensomap menus

 Magic menus

 MENU DESIGN

 Menu design

 Drop-down menus

 Web buttons

 Tree menus

 Sliding menus

 Menu tabs

 Image maps

 SITE LINKS

 Home

 Java downloads

 Prices / Buying

 Support

 Company

 Contact

 New menus

 Free menus

 PARTNER SITES

 Alien Menus

 Happy Menus
Java menu knowledge base
How to write parameters
Return to knowledge base directory

 
How to write parameters
 
The available parameters are described in full in the parameter list for your applet. Parameters allow you to tweak or configure the applet to suit your own aesthetic design and desired behaviour. For example, you can use parameters to change colours, change applet behaviour, reposition and resize elements such as text, buttons, icons, etc.
 
When editing parameters, we recommend you use a simple text editor, such as Windows Notepad, and edit your HTML source code directly as described below.
 
Parameters are entered into your HTML code like this:
 
<param name="....." value=".....">
 
For example, if you want to use a parameter called "menufile" and give it the value "menu.txt" to achieve the effect described in the list of parameters, then write:
 
<param name="menufile" value="menu.txt">
 
Note the following:
  1. the inverted commas are optional unless a name or value contains white space (gaps)
  2. the spelling is important
  3. the case is important
  4. the order of the parameters is not important
  5. if the same parameter appears twice in the HTML, it will only be read once, so you may find yourself changing a parameter and wondering why you can't see the effect; don't write parameters twice
  6. the delivery packages typically contain samples in which most of the parameters are already written in for you; use this as a template to save yourself time
  7. change one parameter at a time and test the effect before you continue - this is a recipe for stress-free development
  8. if you want the applet to access a resource such as a menu file, sound file or image, make sure that the resource is in the same directory as the applet
  9. if you are using an image parameter and want to tell the applet NOT to use an image, do this by removing the parameter completely

 
java menu