Help and FAQs

General Questions

 

  How do the counters stay up to date?
Each time your web page is visited the visitor's browser downloads the JS clock program from zFacts.com. This program is updated severl times per week semi-automatically. zFacts pays for the downloading bandwidth and the updates, so the clock is completely free for you.
 

  Does the link need to be inside the clock?
No. It just needs to be on the same page as the clock.
 

  What format do I use to specify colors with the JavaScript variables?
Colors can be specified by keywords or with hex codes like those found here
Color codes must be surrounded with quotes. Some basic examples are: 
"black" = "#000000"
"white" = "#FFFFFF" 
"red" = "#FF0000" 
"blue" = "#0000FF"
 

  Where can I learn more about CSS Styles?
CSS styles are used for formatting and coloring in some of our examples. For a reference of CSS properties, see this page
 

  What if I can't get it to work or have other questions or Comments? 
Please email Steve(at)zfacts-dot-(om.
 

 

Social Security Clock Questions

 

  Does the link have to be to zfacts.com/p/784.html ?
Yes. Right now it does. And, it must include id='zF' in the tag.
 

  What If the Bottom Part of the Two Clocks Doesn't Fit in the Table?
If the National Debt clock does not fit and disappears from view, or partly disappears, your browser is making the table before it checks the size of clocks.
Here are two possible fixes:

1) Put this in place of the line that ends the first table row and starts the 2nd:
</tr></td><tr><td height='90'> 
Then experment with different heights other than 90 till it looks right.

2) Put the whole table inside of a pair of 'div' tags like this:
<div style="height:200px"> 
Clock Code
</div>