ContentsIndex
Frames
Synopsis
data FrameLayout
= ROWS
| COLS
data FrameSpacing
= FrameAbsolute Int
| FrameRelative Int
| FramePercent Int
data FrameSet = FrameSet {
unFrameSet :: (WithHTML () IO ())
}
makeFrameset :: FrameLayout -> [(FrameSpacing, CGI FrameSet)] -> CGI FrameSet
makeFrame :: WithHTML x IO () -> CGI () -> CGI FrameSet
framesetPage :: String -> CGI FrameSet -> CGI ()
Documentation
data FrameLayout
Overall layout of a frame set: row-wise or column-wise.
Constructors
ROWS
COLS
Instances
Show FrameLayout
data FrameSpacing
Division of space between elements of a frameset. See http://wp.netscape.com/assist/net_sites/frame_syntax.html
Constructors
FrameAbsolute Intin pixels
FrameRelative Intthe * format
FramePercent Intthe % format
Instances
Show FrameSpacing
data FrameSet
Abstract data type of frame set generators.
Constructors
FrameSet
unFrameSet :: (WithHTML () IO ())
makeFrameset :: FrameLayout -> [(FrameSpacing, CGI FrameSet)] -> CGI FrameSet
Create a frameset, given a layout, its spacing, and its subframe(set)s.
makeFrame
:: WithHTML x IO ()additional attributes to frame
-> CGI ()contents of the frame
-> CGI FrameSetreturns HTML generator for the frame
Create a single frame. Returns the assigned name of the frame.
framesetPage :: String -> CGI FrameSet -> CGI ()
Required wrapper for pages with frames. Takes a title and a FrameSet generator and displays the page.
Produced by Haddock version 0.6