Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1018 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 1018 Bytes

digitalClock

Single line digital clock for adding websites.


GitHub top language GitHub license

Live example


Adding the clock with single line (24 hour format).

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeOneLine.js"></script>

12 hour format in one line.

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeOneLine.js" args={"is24":"false"}></script>

To add clock to custom divs, use 12hour or 24hour classes with this script.

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeCustom.js"></script>