z Facts.com
 KNOW THE FACTS.  GET THE SOURCE.
About Printable
 
 
  Home
Info Sources
Free Stuff
Nat. Debt Clock
Basic ♦
Examples
Old Version
 
  Don’t Miss:
 
 National Debt Graph

National Debt

A Social Security Crisis?

Iraq War Reasons

Corn Ethanol

Hurricanes & Global Warming

Baghdad, Iraq

Iraq War Coalition Casualties

Crude Oil Prices

Gas Prices
 
   

   New Basic & Flexible National-Debt Clock

  Needs just three lines of code:

 1. The clock tag makes this:  ###
 2. A link to zFacts' national-debt  page
 3. The JavaSrcipt tag to run the clock

Here's the code that makes this clock:
 
  You control the clock with the zF setting in the clock tag.

   <span id="NDC" zF="A,B,C,D">

How to use the zF settings:
  A   Clock speed.   0 -- 100  clicks per second.  ( 0.2 is very slow.)
  B   Cents.             0 = no cents.  1 = cents.  (default is no cents)
  C   $ sign.             0 = no dollar sign,  1 = show $.   (default is show)
  D   extra clocks.    2 = two ND clocks on the same page.

You can skip inputs, A,B,C,or D, but you must leave space for those skipped over if you use a later one, e.g.

   <span id="NDC:" zF="2,,0">      

This means:  2 clicks/sec , default cents , No dollar sign.
 
  Details:

 • Put the JavaSript line last.
 • You can link any words you want.
 • You can make the link look like normal text. Here's how:

 <a href="http://zfacts.com/p/461.html" id="zF12"
               style="text-decoration:none; color:black;">
 
 
poppy
. .
 
 


http://zfacts.com/p/238.html | 05/16/08 16:12 GMT
Modified: Fri, 07 Jul 2006 14:08:24 GMT
 

 
 
 



zFacts Home