The splash/menu component generates a menu as a series of
splash/button elements.
Source #1:
[% buttons = [
{ link => 'buttons.html', text => 'Buttons' }
{ link => 'menus.html', text => 'Menus' }
{ link => 'tabs.html', text => 'Tabs' }
]
%]
[% PROCESS splash/menu %]
|
Output #1:
|
|
Source #2:
[% PROCESS splash/menu select=2 %]
|
Output #2:
|
|
Source #3:
[% PROCESS splash/menu select=2 width='60%' %]
|
Output #3:
|
|
Source #4:
[% splash.style.default.col.text = 'black' %]
[% PROCESS splash/menu select=3 width='60%' align='right' %]
|
Output #4:
|
|
Source #5:
<div align="right">
[% PROCESS splash/menu select=2 width='60%' %]
</div>
|
Output #5:
|