weekdaze-0.0.0.3: A school-timetable problem-solver.

Safe HaskellSafe
LanguageHaskell2010

WeekDaze.Text.XHTML

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Declares an Int-instance for XHTML.
  • Exports some convenience-functions for XHTML.
Synopsis

Constants

Functions

mkShowHideButton Source #

Arguments

:: Bool

Whether the element is initially displayed; if False, the caller should insert 'Text.XHtml.Strict.thestyle "display: none"' into their element.

-> CSSIdentifier

The name of the element to show or hide.

-> Html 

Create a button to show/hide the specified element.

mkXHTMLDiv :: String -> Html -> Html Source #

Make an XHTML div, which labels & classifies the contents.

mkXHTMLSpan :: String -> Html -> Html Source #

Make an XHTML span, which labels & classifies the contents.

Orphan instances

HTML Int Source # 
Instance details

Methods

toHtml :: Int -> Html #

toHtmlFromList :: [Int] -> Html #