WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.Source codeContentsIndex
WASH.CGI.Frames
Synopsis
data FrameLayout
= ROWS
| COLS
data FrameSpacing
= FrameAbsolute Int
| FrameRelative Int
| FramePercent Int
data FrameSet = FrameSet {
unFrameSet :: WithHTML () IO ()
}
makeFrameset :: CGIMonad cgi => FrameLayout -> [(FrameSpacing, cgi FrameSet)] -> cgi FrameSet
makeFrame :: CGIMonad cgi => WithHTML x IO () -> cgi () -> cgi FrameSet
framesetPage :: CGIMonad cgi => String -> cgi FrameSet -> cgi ()
Documentation
data FrameLayout Source
Overall layout of a frame set: row-wise or column-wise.
Constructors
ROWS
COLS
data FrameSpacing Source
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
data FrameSet Source
Abstract data type of frame set generators.
Constructors
FrameSet
unFrameSet :: WithHTML () IO ()
makeFrameset :: CGIMonad cgi => FrameLayout -> [(FrameSpacing, cgi FrameSet)] -> cgi FrameSetSource
Create a frameset, given a layout, its spacing, and its subframe(set)s.
makeFrameSource
:: CGIMonad cgi
=> WithHTML x IO ()contents of the frame
-> cgi ()returns HTML generator for the frame
-> cgi FrameSet
Create a single frame. Returns the assigned name of the frame.
framesetPage :: CGIMonad cgi => String -> cgi FrameSet -> cgi ()Source
Required wrapper for pages with frames. Takes a title and a FrameSet generator and displays the page.
Produced by Haddock version 2.6.0