Tabs horizontal

From MapbenderWiki

Jump to: navigation, search

User:Melchior Moos


Contents

Description

english

The module mod_horizTabs.js provides a way to switch between a configurable set of modules with vertical tabs like in a notebook. It can be used in combination with Tabs vertical.

To add horizontal tabs to your GUI create a GUI Element with HTML-Tag div, javascript file mod_horizTab.php and module mod_horizTabs.js. If you want to use the horizontal tabs more than one times you have to dublicate the file mod_horizTab.php and write the second file as javascript file to the second GUI Element.

Notice

This modul works with element_vars. Klick on the element link out of the administration gui. Then you have the possibility to edit and add element vars.

deutsch

Das Modul mod_horizTabs.js bietet die Möglichkeit zwischen verschiedenen Modulen mit Hilfe von vertikalen Karteireitern wie in einem Notizbuch zu wechseln. Es kann auch in kombination mit vertikalen Tabs genutzt werden.

Um horizontale Tabs zu ihrer GUI hinzuzufügen erstellen Sie ein GUI Element mit dem HTML-Tag div, der javascript Datei mod_horizTab.php und dem Modul mod_horizTabs.js. Um horizontale Tabs mehr als einmal zu nutzen duplizieren Sie die Datei mod_horizTab.php und binden diese als javascript Datei in das 2. GUI Element ein.

Bitte beachten

Dieses Modul verfügt über Element vars. Diese werden bei Klick auf das Element in der Administrationsoberfläche angezeigt und können angepasst und erweitert werden.

Element Vars

Requirements

The module requires jQuery and style.js in the mainframe (Mapbender 2.5 +). For compartibility with Tabs vertical the module has to be updated too.

touched files

SQL

The following SQL will put the two gazetteer Searches of GUI 'gui' into one vertical tab and make them accessible through horizontal tabs:

Personal tools