Core Framework – Top Navigation v2.0.2 – Documentation
Top Navigation
The global top navigation is ImmobilienScout24's central navigation hub. It links to all of the most relevant product and content pages
and provides access to the user's account area.
The header configuration is centrally managed within the CMS,
so if you wish to use the top navigation in your pages, you should include it by way of a CMS content snippet.
(For more information on how to do that, please refer to the Wiki or bribe your CMS team with shiny things.)
See the Change Log to find out what's changed from previous versions.
<headerclass="page-header page-header--white page-header--white--composite"role="banner"><divclass="content-wrapper"><divclass="page-header__content vertical-center-container float-left"><ahref="index.html"title="ImmobilienScout24"aria-label="ImmobilienScout24"class="page-header__logo vertical-center"><imgsrc="../../img/logo/immobilienscout24.svg"alt="ImmobilienScout24"onerror="this.src='../../img/logo/immobilienscout24.png';this.onerror=null;"/></a><spanclass="page-header__brand vertical-center">
Der Marktführer:<br/>
Die Nr. 1 rund um Immobilien
</span></div><divclass="page-header__content vertical-center-container float-right"><divclass="vertical-center"><ahref="#"class="topnavigation__overlay-trigger--account vertical-center-container"><divclass="topnavigation__sso-login__user-avatar"><imgalt="Placeholder"src="../img/topnavigation/log-in/avatar_placeholder_74x74.png"/></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper vertical-center"><spanclass="sso-login__user-name block font-ellipsis">Anmelden</span><spanclass="block">Mein Konto</span></span></a><divclass="topnavigation__overlay--account"><ulclass="topnavigation__level--1 topnavigation__hover-tabs topnavigation__hover-tabs--small-layers topnavigation__slide-in--show-level-2 topnavigation__sso-login sso-login sso-login--show-avatar sso-login--logged-in"><li><aclass="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"href="#"><divclass="topnavigation__sso-login__user-avatar"><imgalt="Herzog Frosch von Unkenberg"src="../img/topnavigation/log-in/frog_80x80.jpg"/></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name"><spanclass="sso-login__user-name">Herzog Frosch von Unkenberg</span></span></span><spanclass="block">Mein Konto</span></span></a><divclass="topnavigation__level--2 topnavigation__hover-layer topnavigation__hover-layer--right-aligned font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><ulclass="topnavigation__sso-login__link-list--logged-out list-spacing padding-bottom-none"data-cms-qa="is24-cms-loginbox-logged-out"><liclass="border-bottom padding-bottom">
Persönliche Services nutzen und schneller ans Ziel kommen.
<ahref="#"class="margin-vertical-s button-primary button-orange one-whole"id="link_loginLinkInternal">Jetzt anmelden</a>
Neu hier?
<ahref="#"class="sso-login-link link-underline">Jetzt registrieren</a></li></ul><ulclass="topnavigation__sso-login__link-list icon-arrow list-spacing"><li><ahref="#"class="topnavigation-overlay-touch-area">Übersicht</a></li><li><ahref="#"class="topnavigation-overlay-touch-area">Merkzettel</a></li><li><ahref="#"class="topnavigation-overlay-touch-area">Gespeicherte Suchen</a></li><li><ahref="#"class="topnavigation-overlay-touch-area">Persönliches Profil</a></li><li><ahref="#"class="topnavigation-overlay-touch-area">Immobilienanzeigen</a></li><li><ahref="#"class="topnavigation-overlay-touch-area">EigentümerPlus</a></li></ul><ulclass="topnavigation__sso-login__link-list--logged-in list-spacing padding-top-none"data-cms-qa="is24-cms-loginbox-logged-in"><liclass="border-top padding-top align-center"><ahref="#"class="sso-login-link link-underline">Abmelden</a></li></ul></div></div></li></ul><!-- .topnavigation__sso-login --></div></div></div></div></header><navclass="topnavigation"role="navigation"><divclass="content-wrapper"><ahref="#"class="topnavigation__overlay-trigger--menu"aria-label="Navigation anzeigen/verstecken"><divclass="topnavigation__burger"></div></a><divclass="topnavigation__overlay--menu"><divclass="content-wrapper content-wrapper--topnavigation-overlay"><imgclass="topnavigation__overlay--menu__logo"alt="ImmobilienScout24"src="../../img/logo/immobilienscout24.svg"onerror="this.src='../../img/logo/immobilienscout24.png';this.onerror=null;"/></div><divclass="topnavigation__overlay--menu__close"></div><ulclass="topnavigation__level--1 topnavigation__hover-tabs topnavigation__hover-tabs--small-layers topnavigation__hover-tabs--self-aligned"><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Wohnen</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Mietwohnungen</a></li><li><ahref="#">Eigentumswohnungen</a></li><li><ahref="#">Häuser mieten</a></li><li><ahref="#">Häuser kaufen</a></li><li><ahref="#">SCHUFA Bonitätscheck</a></li><li><ahref="#">Veröffentlichte Profile</a></li><li><ahref="#">Smart Home</a></li><li><ahref="#">Hilfe zur Wohnungssuche</a></li><li><ahref="#">Bundesländer entdecken</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Anbieten</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Anzeige aufgeben</a></li><li><ahref="#">Nachmieter suchen</a></li><li><ahref="#">Makler finden</a></li><li><ahref="#">Für gewerbliche Anbieter</a></li><li><ahref="#">Tipps für die Vermietung</a></li><li><ahref="#">Tipps für den Verkauf</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Gewerbe</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Gewerbeimmobilien suchen</a></li><li><ahref="#">Büro & Praxis</a></li><li><ahref="#">Einzelhandel</a></li><li><ahref="#">Hallenflächen</a></li><li><ahref="#">Gastronomieflächen</a></li><li><ahref="#">Maklersuche</a></li><li><ahref="#">Ratgeber</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Maklersuche</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Maklerangebote vergleichen</a></li><li><ahref="#">Im Branchenbuch suchen</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Neubau</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Neubau kaufen</a></li><li><ahref="#">Haus bauen</a></li><li><ahref="#">Fertig- und Massivhausanbieter</a></li><li><ahref="#">Häuser nach Preisen</a></li><li><ahref="#">Neubau als Kapitalanlage</a></li><li><ahref="#">Tipps für den Neubau-Kauf</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Markt & Preise</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Immobilienbewertung</a></li><li><ahref="#">Immobilienwert berechnen</a></li><li><ahref="#">Mietpreis prüfen</a></li><li><ahref="#">Grundstück bewerten</a></li><li><ahref="#">Sachverständigen beauftragen</a></li><li><ahref="#">Mietspiegel in Deutschland</a></li><li><ahref="#">Regionale Miet- und Kaufpreise</a></li><li><ahref="#">Immobilienmarkt aktuell</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Baufinanzierung</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Zinsvergleich</a></li><li><ahref="#">Finanzierungsrechner</a></li><li><ahref="#">Mieten oder Kaufen</a></li><li><ahref="#">Anschlussfinanzierung</a></li><li><ahref="#">Wie viel Haus kann ich mir leisten?</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Umzug</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Umzugsunternehmen vergleichen</a></li><li><ahref="#">Transporter mieten</a></li><li><ahref="#">Umzugskosten berechnen</a></li><li><ahref="#">Wohnung kündigen</a></li><li><ahref="#">Vorlagen & Downloads </a></li><li><ahref="#">Umzug-Checkliste</a></li><li><ahref="#">Umzug im Überblick</a></li></ul></div></div></div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">Eigentümer</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><divclass="topnavigation__level--3 topnavigation__hover-layer__link-block"><ulclass="list-spacing icon-arrow"><li><ahref="#">Aktuelles für Eigentümer</a></li><li><ahref="#">Meine Immobilienverwaltung</a></li><li><ahref="#">Energieausweis</a></li><li><ahref="#">Mietverträge und Mustervorlagen</a></li><li><ahref="#">Nebenkostenabrechnung</a></li><li><ahref="#">SCHUFA-VermieterCheck</a></li><li><ahref="#">Tipps & Checklisten</a></li></ul></div></div></div></li></ul><!-- .topnavigation__level- -1 --></div><!-- .topnavigation__overlay- -menu --></div><!-- .content-wrapper --></nav><!-- .topnavigation --><scripttype="text/javascript">
document.addEventListener("DOMContentLoaded",function(){if(window.IS24 && IS24.core && IS24.core.extensions && IS24.core.extensions.topnavigation){
IS24.core.extensions.topnavigation.init();}});</script>
The Top Navigation relies on the Core Framework
in an arbitrary version, as well as the additional top navigation CSS and JS included in this package.
Note: If you are using the central CMS header, you won't need to include the core-topnavigation resources
as they are already delivered as part of the header snippet.
The white section of the top navigation, which includes the brand logo and claim, is a variation of the
Core Framework's standard white header. It introduces the page-header--white--composite class,
along with a few minor markup changes.
The page-header__content class handles the positioning of the individual content blocks.
You may float these elements to the right where necessary.
Top navigation brand header
(Note that image URLs will differ in production.)
<headerclass="page-header page-header--white page-header--white--composite"role="banner"><divclass="content-wrapper"><divclass="page-header__content vertical-center-container float-left"><ahref="index.html"title="ImmobilienScout24"aria-label="ImmobilienScout24"class="page-header__logo vertical-center"><imgsrc="../../img/logo/immobilienscout24.svg"alt="ImmobilienScout24"onerror="this.src='../../img/logo/immobilienscout24.png';this.onerror=null;"/></a><spanclass="page-header__brand vertical-center">
Der Marktführer:<br/>
Die Nr. 1 rund um Immobilien
</span></div><divclass="page-header__content vertical-center-container float-right"><divclass="vertical-center"><!-- account tab goes here --></div></div></div></header>
<header class="page-header page-header--white page-header--white--composite" role="banner">
<div class="content-wrapper">
<div class="page-header__content vertical-center-container float-left">
<a href="index.html" title="ImmobilienScout24" aria-label="ImmobilienScout24" class="page-header__logo vertical-center">
<img src="../../img/logo/immobilienscout24.svg" alt="ImmobilienScout24"
onerror="this.src='../../img/logo/immobilienscout24.png';this.onerror=null;" />
</a><span class="page-header__brand vertical-center">
Der Marktführer:<br />
Die Nr. 1 rund um Immobilien
</span>
</div>
<div class="page-header__content vertical-center-container float-right">
<div class="vertical-center">
<!-- account tab goes here -->
</div>
</div>
</div>
</header>
Navigation Frame
The top navigation is wrapped in a topnavigation block, which in turn contains a content-wrapper element to get the navigation items aligned with the left and right margins of any other content sections.
Navigation items are grouped into three levels. These levels are displayed differently depending on the navigation state.
Since both the tab navigation (for desktop) and the overlay navigation (for mobile) are based on the same DOM elements, you won't need to maintain two independent navigations.
Tab Navigation
When the tab navigation is active, first-level navigation items are shown as tabs in the bottom navigation bar.
Second and third-level items are grouped under their respective tabs and will be shown when the user clicks or taps on a tab.
The tab navigation is composed of three main components:
The tab navigation list (topnavigation__hover-tabs),
the individual list elements, each with a tab label (topnavigation__hover-tabs__label),
and the tab layer (topnavigation__hover-layer).
Top navigation tabs
(Other classes omitted for the sake of simplicity.)
Layers are by default left-aligned. To align a layer to the right edge of the tab, use the topnavigation__hover-layer--right-aligned class.
Layers aligned to the left and to the right
(Top navigation wrapper left out for the sake of simplicity.)
<ulclass="topnavigation__level--1 topnavigation__hover-tabs"><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">
Left-aligned
</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s">
This layer is left-aligned by default.
</div></li><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">
Right-aligned
</span><divclass="topnavigation__level--2 topnavigation__hover-layer topnavigation__hover-layer--right-aligned font-s">
This layer is aligned to the right, which comes in handy if there is not enough space on the right to fit the layer.
</div></li></ul>
<ul class="topnavigation__level--1 topnavigation__hover-tabs">
<li>
<span class="topnavigation__level--1__label topnavigation__hover-tabs__label">
Left-aligned
</span>
<div class="topnavigation__level--2 topnavigation__hover-layer font-s">
This layer is left-aligned by default.
</div>
</li>
<li>
<span class="topnavigation__level--1__label topnavigation__hover-tabs__label">
Right-aligned
</span>
<div class="topnavigation__level--2 topnavigation__hover-layer topnavigation__hover-layer--right-aligned font-s">
This layer is aligned to the right, which comes in handy if there is not enough space on the right to fit the layer.
</div>
</li>
</ul>
Self-aligned Layers
Since the top navigation has flexible dimensions depending on display size, layers may need to be aligned dynamically based on display size.
To have layers aligned on demand, set the topnavigation__hover-tabs--self-aligned class on the respective tab list. The required script will be run as part of IS24.core.extensions.topnavigation.init.
Layers are made up of a topnavigation__hover-layer element, wrapped around a topnavigation__hover-layer__navigation-wrapper, which takes care of internal spacing.
Content structure for small and large layers
<ulclass="topnavigation__level--1 topnavigation__hover-tabs"><li><spanclass="topnavigation__level--1__label topnavigation__hover-tabs__label">
A layer
</span><divclass="topnavigation__level--2 topnavigation__hover-layer font-s"><divclass="topnavigation__hover-layer__navigation-wrapper"><ulclass="icon-arrow list-spacing"><li><ahref="#">A couple</a></li><li><ahref="#">of entries</a></li><li><ahref="#">in a single</a></li><li><ahref="#">link list</a></li></ul></div></div></li></ul>
The account tab layout differs from ordinary tabs. Depending on configuration and log-in status, it may show a user image and a user name.
Account Tab Structure
The account tab contains a number of additional DOM elements.
A user image (topnavigation__sso-login__user-avatar)
A welcome message to the logged-in user (topnavigation__sso-login__welcome-message)
Also, the classes sso-login and sso-login__user-name serve as handles for the log-in script.
An account tab
(Wrapper elements left out for the sake of simplicity.)
<divclass="topnavigation__overlay--account"><ulclass="topnavigation__hover-tabs topnavigation__sso-login sso-login"><li><ahref="#"class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"><divclass="topnavigation__sso-login__user-avatar"data-cms-qa="is24-login-avatar"><!-- user image goes here --></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name"><spanclass="sso-login__user-name">Anmelden</span></span></span><spanclass="block">Mein Konto</span></span></a><divclass="topnavigation__level--2 topnavigation__hover-layer topnavigation__hover-layer--right-aligned font-s"></div></li></ul></div>
<div class="topnavigation__overlay--account">
<ul class="topnavigation__hover-tabs topnavigation__sso-login sso-login">
<li>
<a href="#" class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide">
<div class="topnavigation__sso-login__user-avatar" data-cms-qa="is24-login-avatar">
<!-- user image goes here -->
</div><!-- this comment is here to eat up the white space between two inline-block elements
--><span class="topnavigation__sso-login__label-text-wrapper">
<span class="topnavigation__sso-login__welcome-message font-ellipsis">
<span class="sso-login__user-name">
<span class="sso-login__user-name">Anmelden</span>
</span>
</span>
<span class="block">Mein Konto</span>
</span>
</a>
<div class="topnavigation__level--2 topnavigation__hover-layer topnavigation__hover-layer--right-aligned font-s"></div>
</li>
</ul>
</div>
The account tab is displayed differently depending on whether or not the user is logged in.
The view is toggled with the sso-login--logged-in class on the surrounding list element.
Similarly, the sso-login--show-avatar class determines whether to show or hide the user avatar or placeholder image.
Login panel in logged-in and logged-out state
(Wrapper elements left out for the sake of simplicity.)
<ulclass="topnavigation__hover-tabs topnavigation__sso-login sso-login"><li><ahref="#"class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"><divclass="topnavigation__sso-login__user-avatar"data-cms-qa="is24-login-avatar"><!-- user image goes here --></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name"><spanclass="sso-login__user-name">Anmelden</span></span></span><spanclass="block">Mein Konto</span></span></a></li></ul>
<ul class="topnavigation__hover-tabs topnavigation__sso-login sso-login">
<li>
<a href="#" class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide">
<div class="topnavigation__sso-login__user-avatar" data-cms-qa="is24-login-avatar">
<!-- user image goes here -->
</div><!-- this comment is here to eat up the white space between two inline-block elements
--><span class="topnavigation__sso-login__label-text-wrapper">
<span class="topnavigation__sso-login__welcome-message font-ellipsis">
<span class="sso-login__user-name">
<span class="sso-login__user-name">Anmelden</span>
</span>
</span>
<span class="block">Mein Konto</span>
</span>
</a>
</li>
</ul>
<ulclass="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar"><li><ahref="#"class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"><divclass="topnavigation__sso-login__user-avatar"><imgalt="Placeholder"src="../img/topnavigation/log-in/avatar_placeholder_74x74.png"/></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name">Anmelden</span></span><spanclass="block">Mein Konto</span></span></a></li></ul>
<ul class="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar">
<li>
<a href="#" class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide">
<div class="topnavigation__sso-login__user-avatar">
<img alt="Placeholder" src="../img/topnavigation/log-in/avatar_placeholder_74x74.png" />
</div><!-- this comment is here to eat up the white space between two inline-block elements
--><span class="topnavigation__sso-login__label-text-wrapper">
<span class="topnavigation__sso-login__welcome-message font-ellipsis">
<span class="sso-login__user-name">Anmelden</span>
</span>
<span class="block">Mein Konto</span>
</span>
</a>
</li>
</ul>
<ulclass="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar sso-login--logged-in"><li><aclass="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"href="#"><divclass="topnavigation__sso-login__user-avatar"><imgalt="Herzog Frosch von Unkenberg"src="../img/topnavigation/log-in/frog_80x80.jpg"/></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name"><spanclass="sso-login__user-name">Herzog Frosch von Unkenberg</span></span></span><spanclass="block">Mein Konto</span></span></a></li></ul>
<ul class="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar sso-login--logged-in">
<li>
<a class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide" href="#">
<div class="topnavigation__sso-login__user-avatar">
<img alt="Herzog Frosch von Unkenberg" src="../img/topnavigation/log-in/frog_80x80.jpg" />
</div><!-- this comment is here to eat up the white space between two inline-block elements
--><span class="topnavigation__sso-login__label-text-wrapper">
<span class="topnavigation__sso-login__welcome-message font-ellipsis">
<span class="sso-login__user-name">
<span class="sso-login__user-name">Herzog Frosch von Unkenberg</span>
</span>
</span>
<span class="block">Mein Konto</span>
</span>
</a>
</li>
</ul>
<ulclass="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar sso-login--logged-in"><liclass="active"><aclass="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide"href="#"><divclass="topnavigation__sso-login__user-avatar"><imgalt="Herzog Frosch von Unkenberg"src="../img/topnavigation/log-in/frog_80x80.jpg"/></div><!-- this comment is here to eat up the white space between two inline-block elements
--><spanclass="topnavigation__sso-login__label-text-wrapper"><spanclass="topnavigation__sso-login__welcome-message font-ellipsis"><spanclass="sso-login__user-name"><spanclass="sso-login__user-name">Herzog Frosch von Unkenberg</span></span></span><spanclass="block">Mein Konto</span></span></a></li></ul>
<ul class="topnavigation__hover-tabs topnavigation__sso-login sso-login sso-login--show-avatar sso-login--logged-in">
<li class="active">
<a class="topnavigation__level--1__label topnavigation__hover-tabs__label topnavigation__overlay--account__hide" href="#">
<div class="topnavigation__sso-login__user-avatar">
<img alt="Herzog Frosch von Unkenberg" src="../img/topnavigation/log-in/frog_80x80.jpg" />
</div><!-- this comment is here to eat up the white space between two inline-block elements
--><span class="topnavigation__sso-login__label-text-wrapper">
<span class="topnavigation__sso-login__welcome-message font-ellipsis">
<span class="sso-login__user-name">
<span class="sso-login__user-name">Herzog Frosch von Unkenberg</span>
</span>
</span>
<span class="block">Mein Konto</span>
</span>
</a>
</li>
</ul>
To initialize the top navigation logic (including the slide-in behavior and support for touch interfaces),
call IS24.core.extensions.topnavigation.init.
Note: If you use the CMS header snippet, this is already taken care of.