
627
ADOBE GOLIVE CS2
User Guide
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 layer 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.
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 layer, choose the layer name from the Layer pop-up menu. (All content within the
layer 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 text box, enter the text you want to precede the date. 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
< f o n t c o l o r = " g r e e n " s i z e = " 5 " >
in the <open> text box and
< / f o nt >
in the </close> text box.
See also
“ID styles” on page 328
“Applying styles” on page 338
Digital Clock
The Digital Clock action displays a live clock that displays the local time using images that you provide. The clock
uses the viewer’s system clock to determine the local time.
Create ten different images to represent the numbers 0 through 9 and place them in the same folder. The images must
all be either GIFs or JPEGs, and cannot be a combination of both. The images must be named either 0.gif, 1.gif, 2.gif,
and so on, or 0.jpg, 1.jpg, 2.jpg, and so on. Place any four of the images on your page to serve as placeholders for the
clock digits. In the More tab of the Image Inspector, enter a unique name for each image placeholder.
Normally, all images will display with the dimensions of the base image. To enable the images to display with different
dimensions, change the base image’s Width and Height values from Pixel to Image in the Image Inspector.
Trigger the action with a browser-triggered event set to OnLoad. Choose Action > Others > Digital Clock. Choose
an image name from each of the Digit pull-down menus to associate each clock digit with one of the placeholder
images. 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 identify the clock’s image directory, reference any of the ten images that represent the clock numbers.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...