Embed a digital clock on your website.
The clock shows the current time. (wonder, oh wonder...) You can set the clock's font color, alignment (left, center or right) as well as a custom css class to design it and put some FX on if you need to. If you need an analog clock anywhere on your website, this widget does the job.
Copyright: 2018 Daniel Retzl
Author: Daniel Retzl email@example.com
Annotation: Embed a digital real-time clock on your website.
Located at system/widgets/clock/classes/clock.php
public __construct( object
Load all widget settings from database and fill object
public printObject( void )
Print all object data
public init( void )
Initialize: prepare JS and start the clock
public drawClock( void )
Draw the clock on screen