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
XIXL - OPEN Command
Return to knowledge base directory

 
The OPEN command is available in iSlide Pro-X Tree and iTree Pro-X Powertree. It has varying functions.
 
1. iSlide Pro-X Tree
 
The OPEN command affects the conditions for opening and closing a folder. You only need to specify it if you wish to differ from the default setting (i.e. single click opens/closes). The opening/closing conditions of folders should be set individually in the index file - so you can have folders with different behaviour profiles in the same applet.
 
Example of use:
 
"TEXT:myText" "1" "1" "LINK:myPage.htm; OPEN:box" "Comment"
 
OPEN:doubleclick causes the affected folder to open and close only if the mouse is double-clicked. This can be used to ensure that a single-click fires the hyperlinks or scripts associated with a folder, and that a double-click fires the folder opening/closing routine. Note that due to the idiosyncrasies of java, a double-click event also triggers a single-click event.
 
OPEN:box causes the affected folder to open and close (i) if the icon or plus/minus box receives a single-click, or (ii) the text receives a double-click. A single-click on the text will only fire hyperlinks or scripts you may have associated with the folder.
 
OPEN:move causes the affected folder to open and close if the mouse moves over the folder (without any click action)
 
You may also use the syntax OPEN=doubleclick and OPEN=box. Any other value for OPEN activates the default single-click behaviour.
 
2. iTree Pro-X Powertree
 
In this applet the OPEN command is used to specify any or all folders which you wish to have opened when the applet first starts.
 
Example of use:
 
"TEXT:myFolder;OPEN:" "1" "1" "LINK:myPage.htm;" "Comment"
 
The above example forces the menu entry in question (if it is a folder with children) to be open when the applet starts. Watchpoint 1: if the folder is inside another folder which is closed, you still won't see it. The OPEN command may need to be used several times with each folder you wish to force open. Watchpoint 2: if the number of visible menu items exceeds the value of the "menuclosetrigger" parameter, then an automatic close of all folders will result. Watchpoint 3: you may find the "startlevel" parameter more useful for certain configurations.
 

 
java menu