SSAB Merox AB
Paddex
61380 Oxelösund

Logga in

Om cookies

Webmasterns hörna

Hjälp: Navigation Macros

These macros are used to create navigation on the site.

^C; or ^C(); - Crumb Trail
A dynamically generated crumb trail to the current page. You can optionally specify a delimeter to be used between page names by using ^C(::);. The default delimeter is >.

NOTE: The .crumbTrail style sheet class is tied to this macro.

^FlexMenu;
This menu macro creates a top-level menu that expands as the user selects each menu item.

^H; or ^H(); - Home Link
A link to the home page of this site. In addition you can change the link text by creating a macro like this ^H("Go Home");.

NOTES: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro.

^M; or ^M(); - Current Menu (Vertical)
A vertical menu containing the sub-pages at the current level. In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^M(3);. If you set the macro to "0" it will track the entire site tree.

^m; - Current Menu (Horizontal)
A horizontal menu containing the sub-pages at the current level. You can optionally specify a delimeter to be used between page names by using ^m(:--:);. The default delimeter is ·.

^PreviousDropMenu;
Create a drop down menu containing the sub-pages at the previous level in the page tree.

Example: ^PreviousDropMenu;

^P; or ^P(); - Previous Menu (Vertical)
A vertical menu containing the sub-pages at the previous level. In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^P(3);. If you set the macro to "0" it will track the entire site tree.

^p; - Previous Menu (Horizontal)
A horizontal menu containing the sub-pages at the previous level. You can optionally specify a delimeter to be used between page names by using ^p(:--:);. The default delimeter is ·.

^rootmenu; or ^rootmenu(); (Horizontal)
Creates a horizontal menu of the various roots on your system (except for the WebGUI system roots). You can optionally specify a menu delimiter like this: ^rootmenu(|);

^RootTab;
Create a tab navigation system from the roots on your site (except WebGUI's system roots) similar to the tabs used in the tab forms (editing wobjects or pages).

NOTE: Has two special style sheet classes: .RootTabOn{} and .RootTabOff{}.

Example:
<style> .rootTabOn { line-height: 17px; font-size: 16px; spacing: 3px; border: 1px solid black; border-bottom-width: 0px; background-color: #333333; z-index: 10000; padding: 3px 9px 5px 9px; color: white; } .rootTabOn A, .rootTabOn A:visited { color: white; font-weight: bold; text-decoration: none; } .rootTabOff { line-height: 15px; font-size: 14px; border: 1px solid black; border-bottom-width: 0px; background-color: #c8c8c8; z-index: 1000; padding: 2px 9px 2px 9px; } .rootTabOff A, .rootTabOff A:visited { color: black; text-decoration: underline; } .rootTabOff A:hover { font-weight: bold; } </style> ^RootTab;

^SpecificDropMenu();
Create a drop down menu starting at a specific point in your navigation tree. This takes two parameters. The first is the url of the page to start with and the second (optional parameter) is the depth to traverse to.

Example: ^SpecificDropMenu("home",3);

^S(); - Specific SubMenu (Vertical)
This macro allows you to get the submenu of any page, starting with the page you specified. For instance, you could get the home page submenu by creating a macro that looks like this ^S("home",0);. The first value is the urlized title of the page and the second value is the depth you'd like the menu to go. By default it will show only the first level. To go three levels deep create a macro like this ^S("home",3);.

^s(); - Specific SubMenu (Horizontal)
This macro allows you to get the submenu of any page, starting with the page you specified. For instance, you could get the home page submenu by creating a macro that looks like this ^s("home");. The value is the urlized title of the page. You can optionally specify a delimeter to be used between page names by using ^s("home",":--:");. The default delimeter is ·.

^Synopsis; or ^Synopsis(); Menu
This macro allows you to get the submenu of a page along with the synopsis of each link. You may specify an integer to specify how many levels deep to traverse the page tree.

NOTES: The .synopsis_sub, .synopsis_summary, and .synopsis_title style sheet classes are tied to this macro.

^TopDropMenu;
Create a drop down menu of your top level navigation.

Example: ^TopDropMenu;

^T; or ^T(); - Top Level Menu (Vertical)
A vertical menu containing the main pages of the site (aka the sub-pages from the home page). In addition, you may configure this macro by specifying how many levels deep the menu should go. By default it will show only the first level. To go three levels deep create a macro like this ^T(3);. If you set the macro to "0" it will track the entire site tree.

^t; - Top Level Menu (Horizontal)
A vertical menu containing the main pages of the site (aka the sub-pages from the home page). You can optionally specify a delimeter to be used between page names by using ^t(:--:);. The default delimeter is ·.

^/; - System URL
The URL to the gateway script (example: /index.pl/).

^\; - Page URL
The URL to the current page (example: /index.pl/pagename).

Se vidare:

Ändrad: 2 december 2008

Hyttsten