decorative banner

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.

    Tip iconNormally, 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.