POD documentation > HTML formatting > HTML.pm
posted on 3:12 PM, July 12, 2009
ExSite::HTML
HTML methods and templates
This package contains routines and functions to generate HTML snippets in various predefined formats.
Most of their appearance and behaviours are controlled by CSS, so you need to be using a stylesheet that is sensitive to these classes. See the ExSite stylesheet for examples. You can output some generic compatible CSS using the CSS subroutine.
Boxes
These are framed units of content.
- BasicBox
- a framed box with titlebar and content pane.
- ScrollBox
- a BasicBox with fixed height, and a scrollbar if the pane overflows.
- CropBox
- a BasicBox with fixed height but no scrollbar. If the pane overflows, it will be cropped.
- FrameBox
- a pane that is framed by a rule. The frame title is overlaid on the top left corner of the frame rule.
- MenuBox
- a left-side vertical menu, with a content pane on the right.
- AccordionBox
-
A multi-paned box, in which each pane is collapsible/expandible,
like an accordion.
- TabBox
- a tab bar, with a content pane beneath it.
- DynTabBox
- a TabBox, with all tabs/panes preloaded and switchable using DHTML.
Popups
- Popup
- Pops up a box when a link is clicked. The box covers content underneath it.
- HelpPopup
- Pops up a box when a link is clicked. The box is inlined into the HTML, so it does not cover content underneath it.
- ToolTip
- Works like Popup(), but works on a mouseover rather than a click.
- Overlay
- Works like Popup(), but overlays the whole page with a semi-opaque screen so that the popup must be closed before you can do anything else.

