Topincs Reference
Logout
HTML custom componentA-ZOngoing

div-menu

Description

A collections of links rendered as a menu. In appearance and behavior it will be aligned with the factsheet page menu.

Language: English

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 dm-inactive></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 without the %page-menu% id, the *outcome is currently undefined* – in particular in connection with sub menus.

Attributes2

Coding name dm-inactive
Mandatory0
DescriptionWhen placed on an anchor child of div-menu, the menu item is rendered inactive and it cannot be clicked.
Coding name dm-separate
Mandatory0
DescriptionWhen placed on an anchor child of div-menu, a separating line is rendered above the menu item.

We are sorry

This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.

   

Before we continue …