The foldout menu is a combination of a graphical menu and a JavaScript menu. When the top menu level is clicked, the second level slowly unfolds downwards. Do not use this type of menu if you want to make your site accessible to older browsers; but with new browsers it looks great. GMENU_FOLDOUT
menus work with Opera 5, Netscape 4, and Internet Explorer from version 4 onwards.
The first level has to be a GMENU
. The second level can either be a GMENU
or a TMENU
.
The following somewhat bulkier script generates the menu shown in the figure on the previous page. An explanation of each of the properties is given after the script.
includeLibs.gmenu_foldout = media/scripts/gmenu_foldout.php page.10.marks.MENU = HMENU page.10.marks.MENU.1 = GMENU_FOLDOUT page.10.marks.MENU.1.expAll=1 page.10.marks.MENU.1.NO { backColor = #ffffff XY = 200, 20 10 = TEXT 10.text.field = title 10.fontFace = fileadmin/verdana.ttf 10.fontSize = 12 10.offset = 5,15 wrap = | <br /> } page.10.marks...