Shell File Manager

Current Path : /usr/share/doc/perl-Template-Toolkit-2.24/old/misc/Library/
Upload File :
Current File : //usr/share/doc/perl-Template-Toolkit-2.24/old/misc/Library/Splash.html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html>
  <head>
    <title>Template::Library::Splash</title>
    <link rel="stylesheet" type="text/css" href="../../css/blue.css" title="Blue Glass">
    <link rel="alternate stylesheet" type="text/css" href="../../css/green.css" title="Green Glass">
    <link rel="stylesheet" type="text/css" href="/css/print.css" media="print">
    <script type="text/javascript" src="../../js/tt2.js"></script>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta name="author" content="Andy Wardley">
  </head>
  <body> 
    <div id="body">
      <div id="page">
          <div id="sidebar">
            <a href="/index.html" id="logo"></a>
            <div id="menu">
              <ul class="menu">
                <li class="l0 first"><a href="../../manual/index.html">Manual</a></li>
                <li class="l0"><a href="../../modules/index.html">Modules</a></li>
                <li class="l0"><a href="../../tools/index.html">Tools</a></li>
                <li class="l0 last"><a href="../../tutorial/index.html">Tutorial</a></li>
              </ul>
              <div class="foot"></div>
            </div>
          </div>
          <div id="header">
            <div id="nav">
              <ul id="trail">
                <li><a href="../.."></a></li>
                <li><a href="../.."></a></li>
                <li class="last"><a href="../../misc/Library/Splash.html">Splash</a></li>
              </ul><div class="pager">
                <a href="../../misc/Library/PostScript.html" title="Template::Library::PostScript" class="go back">Back<span class="about"><b>Back:</b> Template::Library::PostScript</span></a>
                <span class="go up">Up</span>
                <span class="go next">Next</span>
              </div>
            </div>
            <h1 class="headline">Template::Library::Splash</h1>
            <h2 class="subhead">Template library for building stylish HTML user interfaces</h1>
          
          </div>
          <div id="content">
          <div class="section">
            <div class="head">
              <h1 id="contents" onclick="switch_section(this)" title="Click title to show/hide section content.">Contents</h1>
              <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
            </div>
            <div class="body">
              <ul class="toc">
                  <li class=""><a href="#DESCRIPTION">DESCRIPTION</a></li>
                  <li class="sub"><a href="#section_Introduction">Introduction</a></li>
                  <li class="sub"><a href="#section_Configuration">Configuration</a></li>
                  <li class="sub"><a href="#section_Colours">Colours</a></li>
                  <li class="sub"><a href="#section_Style">Style</a></li>
                  <li class=""><a href="#COMPONENT_TEMPLATES">COMPONENT TEMPLATES</a></li>
                  <li class="sub"><a href="#section_splash_text">splash/text</a></li>
                  <li class="sub"><a href="#section_splash_table">splash/table</a></li>
                  <li class="sub"><a href="#section_splash_row">splash/row</a></li>
                  <li class="sub"><a href="#section_splash_cell">splash/cell</a></li>
                  <li class="sub"><a href="#section_splash_box">splash/box</a></li>
                  <li class="sub"><a href="#section_splash_button">splash/button</a></li>
                  <li class="sub"><a href="#section_splash_bar">splash/bar</a></li>
                  <li class="sub"><a href="#section_splash_hair">splash/hair</a></li>
                  <li class="sub"><a href="#section_splash_menu">splash/menu</a></li>
                  <li class="sub"><a href="#section_splash_menubar">splash/menubar</a></li>
                  <li class="sub"><a href="#section_splash_panel">splash/panel</a></li>
                  <li class="sub"><a href="#section_splash_pane">splash/pane</a></li>
                  <li class="sub"><a href="#section_splash_tab">splash/tab</a></li>
                  <li class="sub"><a href="#section_splash_tabset">splash/tabset</a></li>
                  <li class="sub"><a href="#section_splash_tabbox">splash/tabbox</a></li>
                  <li class="sub"><a href="#section_splash_tabsbox">splash/tabsbox</a></li>
                  <li class="sub"><a href="#section_splash_tabspanel">splash/tabspanel</a></li>
                  <li class=""><a href="#EXAMPLES">EXAMPLES</a></li>
                  <li class=""><a href="#AUTHOR">AUTHOR</a></li>
                  <li class=""><a href="#VERSION">VERSION</a></li>
                  <li class=""><a href="#COPYRIGHT">COPYRIGHT</a></li>
                  <li class=""><a href="#SEE_ALSO">SEE ALSO</a></li>
              
              </ul>
            </div>
          </div>
          
                <div class="pod">
            <div class="section">
              <div class="head">
                <h1 id="DESCRIPTION" onclick="switch_section(this)" title="Click title to show/hide section content.">DESCRIPTION</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      <b>NOTE:</b> This documentation is incomplete, incorrect and outdated.
                      The Splash! library is still evolving and subject to change. See the
                      examples for a much more recent and accurate demonstration of use.
                    </p>
                    <div class="subsection">
                  <div class="head">
                    <h2 id="section_Introduction" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">Introduction</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          The 'Splash' template library is distributed as part of the Template
                          Toolkit. It can be found in the 'templates' sub-directory of the
                          installation directory.
                        </p>
                        <pre>/your/tt2/installation
|
+-- docs
|      ...
|  
+-- images
|      ...
|
+-- examples
|      ...
|
+-- templates
    |
    +-- html
    |      ...
    +-- pod
    |      ...
    +-- splash     &lt;&lt;&lt;&lt; YOU ARE HERE
           ...</pre>
                        <p>
                          To use the Splash library, you first need to tell the Template Toolkit
                          where to find the template files.
                        </p>
                        <pre>use Template;</pre>
                        <pre>my $tt2 = Template-&gt;new({
INCLUDE_PATH =&gt; '/usr/local/tt2/templates',
});</pre>
                        <p>
                          For a portable way to determine the installation 'templates' directory,
                          you can use the <code>Template::Config-&gt;instdir()</code> class method.
                        </p>
                        <pre>use Template;</pre>
                        <pre>my $tt2 = Template-&gt;new({
INCLUDE_PATH =&gt; Template::Config-&gt;instdir('templates'),
});</pre>
                        <p>
                          Note that you should set the INCLUDE_PATH to the 'templates' directory as
                          shown here and don't be tempted to set the INCLUDE_PATH to
                          'templates/splash'. Many of the Splash! components use elements in the
                          'html' directory and contain directives of the form:
                        </p>
                        <pre>[% INCLUDE html/something %].</pre>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_Configuration" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">Configuration</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          The 'splash/config' template defines a 'splash' hash array which contains
                          numerous configuration items for the Splash library. You must PROCESS
                          this template to ensure that the hash definition is imported into your
                          calling template. An INCLUDE is not sufficient as it localises variables
                          and prevents the 'splash' hash array from existing outside the
                          splash/config template.
                        </p>
                        <pre>[% PROCESS splash/config %]</pre>
                        <p>
                          Alternately, you can define the splash/config template as a PRE_PROCESS
                          item when you create the Template processor.
                        </p>
                        <pre>use Template;</pre>
                        <pre>my $tt2 = Template-&gt;new({
INCLUDE_PATH =&gt; Template::Config-&gt;instdir('templates'),
PRE_PROCESS  =&gt; 'splash/config',
});</pre>
                        <p>
                          You can modify the default configuration by creating your own PRE_PROCESS
                          config file which loads the 'splash/config' and then tweaks the settings
                          to your own preferences.
                        </p>
                        <pre>my $tt2 = Template-&gt;new({
INCLUDE_PATH =&gt; [ '/home/abw/tt2/templates',
              Template::Config-&gt;instdir('templates') ],
    PRE_PROCESS =&gt; 'config'
});</pre>
                        <p>
                          /home/abw/tt2/templates/config:
                        </p>
                        <pre>[% # load the 'splash' configuration
   PROCESS splash/config;

   # tweak values to personal preferences
   splash.images       = '/~abw/tt2/images/splash'
   splash.select.col   = 'leaf'
   splash.unselect.col = 'bud'
%]</pre>
                        <p>
                          The splash/config file includes some instructional comments on things you
                          might like to tweak.
                        </p>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_Colours" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">Colours</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          The Splash! library uses the colours defined in the html/rgb template.
                          The 'rgb' hash defined therein is imported as the 'splash.rgb' hash.
                        </p>
                        <pre>[% INCLUDE splash/box col='grey75' %]</pre>
                        <p>
                          See the examples for further enlightenment on using colour.
                        </p>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_Style" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">Style</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          There are two very primitive "styles" implemented called "select" and
                          "unselect". These are used to indicate which item on a menu is selected,
                          for example. Each style defines characteristics like background colour,
                          font face, size and colour, text alignment, and so on.
                        </p>
                        <p>
                          The styles are implemented as hashes within the 'splash' hash. Many of
                          the components respond to a 'style' variable being set and you can pass a
                          direct reference to splash.select or splash.unselect (or your own
                          styles). e.g.
                        </p>
                        <pre>[% INCLUDE splash/button 
   content = "Unselected"
       style   = splash.unselect
%]
[% INCLUDE splash/button 
       content ="Selected"
       style   = splash.select
%]</pre>
                        <p>
                          Alternately, you can use the 'select' variable to indicate either of the
                          inbuilt styles: splash.select or splash.unselect.
                        </p>
                        <pre>[% INCLUDE splash/button 
       content = "Unselected"
       select  = 0
%]
[% INCLUDE splash/button
       content = "Selected"
       select  = 1
%]</pre>
                  </div>
                </div>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="COMPONENT_TEMPLATES" onclick="switch_section(this)" title="Click title to show/hide section content.">COMPONENT TEMPLATES</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      This section describes some of the component templates in the Splash!
                      library. This documentation is incomplete and may also be inaccurate in
                      places. The examples in the 'examples' directory are likely to be a much
                      better reference.
                    </p>
                    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_text" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/text</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Simple template to format text according to a selected/unselected style,
                          adding links, etc.
                        </p>
                        <pre>[% INCLUDE splash/text
       content = 'Template Toolkit'
       link    = 'http://www.template-toolkit.org'
       select  = 0
       bold    = 1
%]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Text content.
                        </p>
                        </li>
                        <li><b id="item_link">link</b>
                        <p>
                          URL which can be defined to make the text a link.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_font_style_font_face_">font (style.font.face)</b>
                        </li>
                        <li><b id="item_bold_style_font_bold_">bold (style.font.bold)</b>
                        </li>
                        <li><b id="item_size_style_font_size_">size (style.font.size)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_table" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/table</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A thin wrapper around html/table, allowing a colour to be specified by
                          name.
                        </p>
                        <pre>[% WRAPPER splash/table
       col   = 'aqua'
   pad   = 4
       width = '100%'
%]
&lt;tr&gt;
  &lt;td&gt;Foo&lt;/td&gt;
  &lt;td&gt;Bar&lt;/td&gt;
&lt;/tr&gt;
[% END %]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Table content.
                        </p>
                        </li>
                        <li><b id="item_col">col</b>
                        <p>
                          Background colour.
                        </p>
                        </li>
                        <li><b id="item_border">border</b>
                        <p>
                          Border width (default: 0)
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_pad">pad</b>
                        <p>
                          Cell padding.
                        </p>
                        </li>
                        <li><b id="item_space">space</b>
                        <p>
                          Cell padding.
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_row" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/row</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Creates a row for an HTML table.
                        </p>
                        <pre>[% WRAPPER splash/table %]</pre>
                        <pre>[% WRAPPER splash/row col='marine' %]
&lt;td&gt;Foo&lt;/td&gt;&lt;td&gt;Bar&lt;/td&gt;
[% END %]</pre>
                        <pre>[% WRAPPER splash/row col='aqua' %]
&lt;td&gt;Foo&lt;/td&gt;&lt;td&gt;Bar&lt;/td&gt;
[% END %]</pre>
                        <pre>[% END %]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Row content.
                        </p>
                        </li>
                        <li><b id="item_col">col</b>
                        <p>
                          Background colour.
                        </p>
                        </li>
                        <li><b id="item_valign">valign</b>
                        <p>
                          Vertical alignment
                        </p>
                        </li>
                        <li><b id="item_rowspan">rowspan</b>
                        <p>
                          Number of rows to span.
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_cell" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/cell</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Creates a cell for an HTML table.
                        </p>
                        <pre>[% WRAPPER splash/table + splash/row + splash/cell col='grey75' %]
Hello World
[% END %]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Cell content.
                        </p>
                        </li>
                        <li><b id="item_col">col</b>
                        <p>
                          Background colour.
                        </p>
                        </li>
                        <li><b id="item_align">align</b>
                        <p>
                          Horizontal alignment
                        </p>
                        </li>
                        <li><b id="item_colspan">colspan</b>
                        <p>
                          Number of columns to span.
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_box" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/box</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A box created from a union of splash/table, splash/row and splash/cell.
                          The following is equivalent to the previous example.
                        </p>
                        <pre>[% WRAPPER splash/box col='grey75' %]
Hello World
[% END %]</pre>
                        <p>
                          Configuration items are as per the individual templates.
                        </p>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_button" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/button</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Creates a small button with rounded corners.
                        </p>
                        <pre>[% INCLUDE splash/button
       content = 'Template Toolkit'
       select  = 1
       width   = '50%'
%]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Button content.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_textcol_style_col_text_">textcol (style.col.text)</b>
                        </li>
                        <li><b id="item_font_style_font_face_">font (style.font.face)</b>
                        </li>
                        <li><b id="item_size_style_font_size_">size (style.font.size)</b>
                        </li>
                        <li><b id="item_bold_style_font_bold_">bold (style.font.bold)</b>
                        </li>
                        <li><b id="item_width_style_button_width_">width (style.button.width)</b>
                        </li>
                        <li><b id="item_align_style_button_align_">align (style.button.align)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_bar" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/bar</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Creates a bar with rounded corners at either the top or bottom, and
                          square corners on the other. Default has rounded at the top, set 'invert'
                          to select bottom.
                        </p>
                        <pre>[% INCLUDE splash/bar
       content = 'Hello World',
       select  = 1
%]    </pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Bar content.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_invert">invert</b>
                        <p>
                          Flag to invert bar to hang down instead of sitting upright.
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_textcol_style_col_text_">textcol (style.col.text)</b>
                        </li>
                        <li><b id="item_font_style_font_face_">font (style.font.face)</b>
                        </li>
                        <li><b id="item_size_style_font_size_">size (style.font.size)</b>
                        </li>
                        <li><b id="item_bold_style_font_bold_">bold (style.font.bold)</b>
                        </li>
                        <li><b id="item_width_style_button_width_">width (style.button.width)</b>
                        </li>
                        <li><b id="item_align_style_button_align_">align (style.button.align)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_hair" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/hair</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Generates a frame enclosing the content within crosshair corners.
                        </p>
                        <pre>[% INCLUDE splash/hair
       content = 'Template Toolkit'
%]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Hair content.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_bgcol_style_col_back_">bgcol (style.col.back)</b>
                        </li>
                        <li><b id="item_align_style_button_align_">align (style.button.align)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_menu" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/menu</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Creates a menu as a series of splash/button elements.
                        </p>
                        <pre>[% buttons = [ 
  { text =&gt; 'One', link =&gt; 'one.html' }
      { text =&gt; 'Two', link =&gt; 'two.html' }
   ]
%]</pre>
                        <pre>[% INCLUDE splash/menu
       select = 2        # Two
%]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_buttons">buttons</b>
                        <p>
                          A reference to a list of hash arrays containing 'text' and 'link' items.
                        </p>
                        </li>
                        <li><b id="item_select_n_or_0_">select (n or 0)</b>
                        <p>
                          Indicates which button should be selected. First item is 1. 0 indicates
                          no button selected.
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_align">align</b>
                        <p>
                          Horizontal alignment
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_menubar" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/menubar</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          As above, but incorporated into a wider bar.
                        </p>
                        <pre>[% WRAPPER splash/menubar %]
   Section Title
[% END %]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_buttons">buttons</b>
                        <p>
                          A reference to a list of hash arrays containing 'text' and 'link' items.
                        </p>
                        </li>
                        <li><b id="item_select_n_or_0_">select (n or 0)</b>
                        <p>
                          Indicates which button should be selected. First item is 1. 0 indicates
                          no button selected.
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_align">align</b>
                        <p>
                          Horizontal alignment
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_panel" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/panel</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A table with a coloured edge.
                        </p>
                        <pre>[% WRAPPER splash/panel edge='black' fill='grey75' border=2 %]
   &lt;tr&gt;
     &lt;td&gt;Hello World&lt;/td&gt;
   &lt;/tr&gt;
[% END %]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Panel content.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_align">align</b>
                        <p>
                          Horizontal alignment
                        </p>
                        </li>
                        <li><b id="item_border">border</b>
                        <p>
                          Border width (default: 0)
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_edge_style_col_edge_">edge (style.col.edge)</b>
                        </li>
                        <li><b id="item_fill_style_col_fill_">fill (style.col.fill)</b>
                        </li>
                        <li><b id="item_pad_style_pad_">pad (style.pad)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_pane" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/pane</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A union of splash/row + splash/cell.
                        </p>
                        <pre>[% WRAPPER splash/panel select=1 %]
   [% WRAPPER splash/pane col='grey75' %]
      Hello World
   [% END %]</pre>
                        <pre>   [% WRAPPER splash/pane col='grey50' %]
      Hello Again
   [% END %]
[% END %]</pre>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_tab" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/tab</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A simple button looking like a page tab.
                        </p>
                        <pre>[% INCLUDE splash/tab
       content = 'Option 1'
       col = 'aqua'
%]</pre>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_content">content</b>
                        <p>
                          Tab content.
                        </p>
                        </li>
                        <li><b id="item_style">style</b>
                        <p>
                          Reference to a style hash.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_align">align</b>
                        <p>
                          Horizontal alignment
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_textcol_style_col_text_">textcol (style.col.text)</b>
                        </li>
                        <li><b id="item_font_style_font_face_">font (style.font.face)</b>
                        </li>
                        <li><b id="item_size_style_font_size_">size (style.font.size)</b>
                        </li>
                        <li><b id="item_bold_style_font_bold_">bold (style.font.bold)</b>
                        </li>
                        <li><b id="item_tabalign_style_tab_align_">tabalign (style.tab.align)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_tabset" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/tabset</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          A set of splash/tab components, similar to a menu.
                        </p>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_tabs">tabs</b>
                        <p>
                          List of hash references containing text/link entries, as per menu
                          buttons.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_invert">invert</b>
                        <p>
                          Flag to invert tab to hang down instead of sitting upright.
                        </p>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_tabbox" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/tabbox</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Add a splash/tab to the top of a splash/box.
                        </p>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_title">title</b>
                        <pre>title.</pre>
                        </li>
                        <li><b id="item_content">content</b>
                        <pre>content.</pre>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_tabwidth">tabwidth</b>
                        <p>
                          Width of tabs.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_border">border</b>
                        <p>
                          Border width (default: 0)
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_fill_style_col_fill_">fill (style.col.fill)</b>
                        </li>
                        <li><b id="item_tabalign_style_tab_align_">tabalign (style.tab.align)</b>
                        </li>
                        <li><b id="item_tablocate_style_tab_locate_">tablocate (style.tab.locate)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_tabsbox" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/tabsbox</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Add a splash/tabset to the top of a splash/box.
                        </p>
                        <p>
                          Configuration items:
                        </p>
                        <ul>
                        <li><b id="item_tabs">tabs</b>
                        <p>
                          List of hash references containing text/link entries, as per menu
                          buttons.
                        </p>
                        </li>
                        <li><b id="item_select">select</b>
                        <p>
                          Flag to default the style to splash.select (select == true value) or
                          splash.unselect (select == false value).
                        </p>
                        </li>
                        <li><b id="item_content">content</b>
                        <pre>content.</pre>
                        </li>
                        <li><b id="item_width">width</b>
                        <p>
                          Width in absolute pixels (e.g. '100') or as a percentage (e.g. '50%').
                        </p>
                        </li>
                        <li><b id="item_border">border</b>
                        <p>
                          Border width (default: 0)
                        </p>
                        </li>
                        <li><b id="item_invert">invert</b>
                        <p>
                          Flag to invert to hang down instead of sitting upright.
                        </p>
                        </li>
                        </ul>
                        <p>
                          The following items default to the relevant style values:
                        </p>
                        <ul>
                        <li><b id="item_col_style_col_text_">col (style.col.text)</b>
                        </li>
                        <li><b id="item_fill_style_col_fill_">fill (style.col.fill)</b>
                        </li>
                        <li><b id="item_tabalign_style_tab_align_">tabalign (style.tab.align)</b>
                        </li>
                        <li><b id="item_tablocate_style_tab_locate_">tablocate (style.tab.locate)</b>
                        </li>
                        </ul>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_splash_tabspanel" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">splash/tabspanel</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          As per splash/tabsbox, but attached to a splash/panel instead of a
                          splash/box.
                        </p>
                  </div>
                </div>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="EXAMPLES" onclick="switch_section(this)" title="Click title to show/hide section content.">EXAMPLES</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      See the examples in the 'examples' sub-directory of the installation for
                      comprehensive examples showing use of the Splash! library.
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="AUTHOR" onclick="switch_section(this)" title="Click title to show/hide section content.">AUTHOR</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      Andy Wardley &lt;[email protected]&gt;
                    </p>
                    <p>
                      <a href="http://wardley.org/">http://wardley.org/</a>|<a
                      href="http://wardley.org/">http://wardley.org/</a>
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="VERSION" onclick="switch_section(this)" title="Click title to show/hide section content.">VERSION</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      2.68, distributed as part of the Template Toolkit version 2.19, released
                      on 27 April 2007.
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="COPYRIGHT" onclick="switch_section(this)" title="Click title to show/hide section content.">COPYRIGHT</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <pre>Copyright (C) 1996-2007 Andy Wardley.  All Rights Reserved.</pre>
                    <p>
                      This module is free software; you can redistribute it and/or modify it
                      under the same terms as Perl itself.
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="SEE_ALSO" onclick="switch_section(this)" title="Click title to show/hide section content.">SEE ALSO</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      <a href="../../misc/Library/HTML.html">Template::Library::HTML</a>
                    </p>
              </div>
            </div>
            
            </div></div>    <br clear="both">
      </div>
        <div id="footer">
          <div id="br">
          <div class="pager">
            <a href="../../misc/Library/PostScript.html" title="Template::Library::PostScript" class="go back">Back<span class="about"><b>Back:</b> Template::Library::PostScript</span></a>
            <span class="go up">Up</span>
            <span class="go next">Next</span>
          </div>
          </div>
          <a href="http://opensource.org/" class="osi"></a>
          <div class="copyright">
            Copyright &copy; 1996-2007 <a href="http://wardley.org/">Andy Wardley</a>.  All Rights Reserved.
          </div>
          <div class="licence">
            The <a href="http://template-toolkit.org/">Template Toolkit</a> is <a href="http://opensource.org/">Open Source</a> software.
            You can redistribute and/or modify it under the terms of the <a href="http://www.opensource.org/licenses/gpl-license.php">GNU Public Licence</a>
            or the <a href="http://www.opensource.org/licenses/artistic-license.php">Perl Artistic Licence</a>.
          </div>
        </div></div>  </body>
</html>

Shell File Manager Version 1.1, Coded By Shell
Email: [email protected]