decorative banner

Clock Date (ID)


    The Clock Date (ID) action displays a live text-based clock that can display the local date, local time, or both. The clock uses the viewer's system clock to determine the local date and time. The clock can replace placeholder text on the page, or display in a floating box or a table cell. If the action is applied to placeholder text or the content in a table cell, either must use an ID style. (See Creating ID styles and Applying styles.)

    Important: This action works on Internet Explorer 5+ and Netscape 6+ browsers.

    Trigger the action with a browser-triggered event set to OnLoad. Choose Action > Others > Clock Date (ID). If you want the clock to appear inside a floating box, choose the floating box name from the Layer pop-up menu. (All content within the floating box will be replaced by the clock.) If the date will appear in place of text on the page or the contents of a table cell, enter the ID style name used without the # symbol in the Element ID text box.

    Select Show Local Time if you want to display the time. Select Use 24-hour Time to display 24-hour time, or leave it unselected to display 12-hour A.M. and P.M. time. To display the local date, select Show Date and choose a numerical date format from the pop-up menu. To display the day of the week as a word preceding the numerical date, select Include Day Of Week. In the Lead In Text textbox, enter the text you want to precede the date (apostrophes must be preceded by a backslash to prevent JavaScript errors). If you want to customize the text formatting, enter an HTML start tag with attributes in the <open> text box and enter the HTML closing tag in the </close> text box. For example, if you want the new text to display in green with a size of 5, you could enter

    <font color="green" size="5">

    in the <open> text box and

    </font>

    in the </close> text box.