Create drop down menus:
1. Add variables directory and
MENU_VRIABLES (4 files* below) within /usr/home/marbex/catalogs/marbex/variables. These are used within the individual pages/templates to load essential scripyt, i.e. _COMMON_MENU_ etc.
COMMON_MENU[menu name="[scratch menu_bar]"
menu-type=flyout
use-file=1
anchor_down=1
entities=description
exclude_on=exclude_on
items=depends_on
js_prefix=top_
flyout_class=submenu
flyout_style="border: 1px solid #dddddd; padding: 4px; padding-left: 1px"
submenu_image_right="[var IMAGE_DIR]/sm_right.gif"
inactive=inactive
indicator_class="menu_class=name"
indicator_page=page
link_class=submenu
nbsp=name
logged_in=member
]
[menu-header]
LINE_MENU[if !scratch line_menu]
[tmpn line_menu]catalog/line[/tmpn]
[/if]
PAGE_INIT[calc]
$Variable->{MV_DHTML_BROWSER} = 'MSIE.*[5-9]\..*WindowsMozilla.*GeckoOpera.*[7-9]\.';
$Scratch->{dhtml_browser} =
$Session->{browser} =~ m{$Variable->{MV_DHTML_BROWSER}};
if($Scratch->{members_only} and ! $Session->{logged_in}) {
$Scratch->{mv_successpage} = $Tag->var('MV_PAGE', 1);
$Tag->deliver({ location => $Tag->area('login')});
}
return;
[/calc]
##### BTW, there are more otherTags like above in the 5.3 catalog.cfg to determine whether the user has a DOM-compliant browser #############THEME_CSS2. Import the 5.3 tree.txt within the Menu Editor. It contains the menu structure that opens the lower-level menus when you mouse-over the top-level menu links.
The rest is coming...