Here is a newer clock design...this displays a
1. 12 hour am/pm clock
(without taxing the cpu
)
2. style colors change during Day, Night, daybreak and sunset more or less.
3. Background image is included
(you can add your own
)
4. Uses internal CSS...no External CSS file to download
( a bit busy though
)
5. Button options allow background color change and return to image...just as a demo...
more features to be added later
(after I learn more javascript child.node stuff!
).
This is a rough draft of sorts...quite a mix of code...and needs refinement....so this is a sneak preview
( my competition with Elon Musk's CyberTruk?
).
Just download the htm file and the jpeg file and place in same folder...you can alter the included txt file and change the various parameters if you like, or just review it to get acquainted with the various code blocks/sections...if you save it as an htm
(l
) file your changes will be demonstated.
Included above are a few screen snapshots of what you are getting...
(change the text size to fit screen
)Enjoy
Edited by joval 2019-11-25 4:45 AM
(pumpkin.jpg)Attachments
----------------
a-best12HourCssChangeButH1.htm (4KB - 14 downloads)
a-best12HourCssChangeButH1.txt (4KB - 8 downloads)
pumpkin.jpg (62KB - 7 downloads)