Quiq::JQuery::MenuBar - Erzeuge den Code einer jQuery Menüleiste
Quiq::Hash
Die Klasse erzeugt den HTML-Code einer jQuery UI menüleiste. Dem Konstruktor werden die Menüpunktdefintionen mit dem Attribut items übergeben. Die Methode html() generiert den HTML-Code.
items
Homepage:
https://github.com/uSked/jquery-menubar
Quelldateien:
https://rawgit.com/ainterpreting/jquery-menubar/master/jquery.menubar.css
https://rawgit.com/ainterpreting/jquery-menubar/master/jquery.menubar.js
Achtung: Der Code läuft nur mit jQuery UI 1.11.4!
https://code.jquery.com/ui/1.11.4/themes/black-tie/jquery-ui.css
https://code.jquery.com/ui/1.11.4/jquery-ui.min.js
(String) CSS-Id der Menüleiste
(Array of Hashes) Definition der Menüpunkte.
CSS-Style.
$obj = $class->new(@keyVal);
Instantiiere ein Menüleisten-Objekt und liefere eine Referenz auf dieses Objekt zurück.
$html = $obj->html($h); $html = $class->html($h,@keyVal);
Generiere den HTML-Code eines Menüleisten-Objekts und liefere diesen zurück. Als Klassenmethode gerufen, wird das Objekt intern mit den Attributen @keyVal instantiiert.
1.215
Frank Seitz, http://fseitz.de/
Copyright (C) 2024 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.