HTML custom component
div-menu
Description
A collections of links rendered as a menu. In appearance and behavior it will be aligned with the factsheet page menu.
HTML structure
To define page in a HTML service use this snippet on the top DOM level of the markup code:
[%<div-menu id="pagemenu">
<a href=""></a>
<a href="" dm-separate disabled></a>
<div-menu>%]
In rare cases you might want to use a sub menu, then use this snipett:
[%<div id="pagemenu">
<div-menu>
<a href=""></a>
<a href="" dm-separate dm-inactive></a>
<div-menu>
<a>Sub menu title</a>
<a href="">Sub menu item 1</a>
<a href="">Sub menu item 2</a>
<div-menu>
<div>%]
Comments
While it should be possible to use this tag with an id different from %page-menu%, the *outcome is currently undefined* – in particular in connection with sub menus.
|
Attributes2
Coding name |
disabled
|
Description |
When placed on an anchor child of div-menu, the menu item is rendered inactive and it cannot be clicked.
|
Mandatory |
0
|
Coding name |
dm-separate
|
Description |
When placed on an anchor child of div-menu, a separating line is rendered above the menu item.
|
Mandatory |
0
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.