DutyMan Embedded Page


You can embed a page of event and duty  information as held by DutyMan inside your own website .

The information can be displayed in three layouts or modes.

Mode 1: Dates and events only with one two-column row per date/event combination >>view

Mode 2: Dates, events, duties and people with one four-column row per date/event/duty/person >>view

Mode 3: Dates, events, duties and people with one two-column row per date/event followed by multiple duty/person rows >>view


An HTML iFrame tag, like the one shown below, is used to embed the DutyMan page



The appearance of the embedded page is controlled partly by the iFrame tag attributes, partly by a Cascading Style Sheet and partly by the url query string. Try various options to achieve a suitable style for your site.


IFrame Tag Attributes

Height and Width define the size of the frame.  The embedded page expands to fit the space available.


Cascading Style Sheet

The CSS controls the background colour of the embedded page, the fonts, attributes of the columns, and the appearance and behaviour of the hyperlink to DutyMan.  You can either accept the default CSS or supply your own and specify its url via the query string parameters as described opposite.

Download default CSS

Url Query String Parameters

id=YourRosterID Mandatory, all other parameters are optional
mode=1|2|3 The display mode of the embedded page
css=url_of_CSS To replace default CSS
maxrows=n|10|nolimit Maximum number of rows to display
gridlines=None|Vertical|Horizontal|Both Note: case-dependent
datesep=Yes|No|OmitFirst Display a date separator
altrow=colourname|WhiteSmoke Alternating row colour


The events and duties to be displayed are determined by
Date parameters


Example

dmembed.aspx?id=X000000
&css=http://mysite.com/mystyles.css&maxrows=6
&gridlines=Both&datesep=No&altrow=Gray













Questions and Comments

Mail DutyMan Support