HTML
Splash!
PostScript
  
Template Toolkit Examples: Splash! Library: Single Tabs

  pulldown
tab
frame  

Single Tabs

The splash/tab template implements a simple tab with a rounded profile sitting upright (default) or hanging down (invert set true).

Source #1:
    [% INCLUDE splash/tab
        content = 'Hello World'
    %]
    
    
Output #1:

Hello World


Source #2:
    [% INCLUDE splash/tab
        col     = 'aqua'
        content = 'Foo'
    %]
    
Output #2:

Foo


Source #3:
    [% INCLUDE splash/tab
        col     = 'marine'
        content = 'Bar'
        invert  = 1
    %]
    
    
Output #3:

Bar


Source #4:
    [% WRAPPER splash/tab
        width = '20%'
    %]
    Foo
    [% END %]
    
Output #4:

Foo


Source #5:
    [% WRAPPER splash/tab
        invert = 1
        style  = splash.style.select
        width  = '30%'
        align  = 'right'
    %]
    Bar
    [% END %]
    
    
    
Output #5:

Bar


Source #6:
    [% WRAPPER splash/tab + splash/text
        invert = 1
        style  = splash.style.select
        width  = '50%'
    %]
    Baz
    [% END %]
    
    
    
Output #6:

Baz