.
Nation Debt Clock |
ND Clock
|
Gas-Price Widget |
Gas_Widget
|
Iraq War Cost |
Iraq_Widget
|
|
national debt
Get this one. |
national debt
Get this one. |
|
national debt
Get this one. |
national debt
Get this one. |
Mix, Match and Modify -- any way you want. | |
|
The debt: national debt
in an iFrame.
Get this one. |
The debt: national debt as a raw number.
Get this one. |
|
Widget Goes Here
|
|
| Code | |
|
|
|
Widget Goes Here
|
|
| Code | |
|
|
|
Widget Goes Here
|
|
| Code | |
|
|
|
Widget Goes Here
|
|
| Code | |
|
|
|
Widget Goes Here
|
|
| Code | |
|
|
|
Widget Goes Here
|
|
| Code | |
|
|
Customize the national-debt widget by setting values that control, speed, size, color, and title. You can see how this is done by looking at the indented code lines for any widget.
For good luck, remember these simple rules:
Here's a complete list of parameters, an example setting them to their default value, and their allowed value ranges.
The best way to find exactly what parameter values do, is just to try them out.
In case you don't know HTML colors, here's a short lesson. Common color names usually work -- black, white, yellow, red ... But to get real control you need to use the red (R) - green (G) - Blue (B) color numbers. The short version works like this: 0 = black, 1,2,3,...9,A,B,C,D,E,F are increasingly bright. So #F00 is bright red, #0F0 is bright green, and #00F is bright blue. #FFF is white and, #FF0 is Red-Green, which makes yellow.
The long version uses 2-digit color numbers: 00 is black, and FF is brightest. So #FF 00 00 is bright red, but write it as #FF0000.
If you want two National-Debt Widgets on one page:
Change the two ID numbers in the second one to both be 2. Like so: id="zf26_2" and ?id=2
The National-Debt Widget runs on JavaScript -- a language that every browser knows. But controlled environments, such as a faceBook, do not allow you to use it.
Blogging software, like Blogger and Wordpress, almost always allow it. But they usually make you put it in a special box. This is not usually a hard feature to find.
If your widget does not work, try this.
Put the "Standard" (not customization) widget into a page. View the page where you put it in your browser. Hit Control-U, or the Apple equivalent.
This will pop up a new web page showing you the HTML that's actual in your page. If you don't see the widget code that you put in, then your system does not allow it and took it out. If you do see it, look closely to make sure it is all there and has not been altered by some robot.
Best of luck,
Steve
| gas price history Get this one. | gas price history Get the Big One. |
| gas price history Choose me! | gas price history I'm the best! |
| gas price history Just right. | gas price history Last but not least |
|
Widget Goes Here
|
|
| Code | |
|
|
|
Gas-Price Gizmo Goes Here
|
|
| Code | |
|
|
|
Gas-Price Gizmo Goes Here
|
|
| Code | |
|
|
|
Gas-Price Gizmo Goes Here
|
|
| Code | |
|
|
|
Gas-Price Gizmo Goes Here
|
|
| Code | |
|
|
|
Gas-Price Gizmo Goes Here
|
|
| Code | |
|
|
Customize the gas-price widget by setting values that control, speed, size, color, and content. You can see how this is done by looking at the indented code lines for any widget.
For good luck, remember these rules:
Here's a complete list of parameters, an example setting them to their default value, and their allowed value ranges.
The best way to find exactly what parameter values do, is just to try them out.
There are very slight differences in line height between browsers, so height may need to be set 4 or 5 pixels higher for some widgets to show properly in FoxFire or Internet Explorer, than is needed in Chrome. If height is too small, the bottom border will not show.
In case you don't know HTML colors, here's a short lesson. Common color names usually work -- black, white, yellow, red ... But to get real control you need to use the red (R) - green (G) - Blue (B) color numbers. The short version works like this: 0 = black, 1,2,3,...9,A,B,C,D,E,F are increasingly bright. So #F00 is bright red, #0F0 is bright green, and #00F is bright blue. #FFF is white and, #FF0 is Red-Green, which makes yellow.
The long version uses 2-digit color numbers, 00 is black, and FF is brightest. So #FF 00 00 is bright red, but write it as #FF0000.
If you want two Gas Widgets on one page:
Change the two ID numbers in the second one to both be 2. Like so: id="zf10_2" and ?id=2
The Gas-Price Widget runs on JavaScript -- a language that every browser knows. But controlled environments, such as a faceBook, do not allow you to use it.
Blogging software, like Blogger and Wordpress, almost always allow it. But they usually make you put it in a special box. This is not usually a hard feature to find.
If your widget does not work, try this.
Put the "Standard" (not customization) widget into a page. View the page where you put it in your browser. Hit Control-U, or the Apple equivalent.
This will pop up a new web page showing you the HTML that's actual in your page. If you don't see the widget code that you put in, then your system does not allow it and took it out. If you do see it, look closely to make sure it is all there and has not been altered by some robot.
Best of luck,
Steve
|
This is not all costs, but only the costs based on the budget authority. Data is from Congressional Research Service. |
|
Needs just three lines of code:
1. The clock tag makes this: $964,948,195,656 Here's the code that makes this clock: |
<span id="IWC" zF="8">###</span> |
|
You control the clock with the zF setting in the clock tag.
<span id="IWC" zF="A,B,C,D"> How to use the zF settings: 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="IWC:" zF="2,,0"> This means: 2 clicks/sec , default cents , No dollar sign. |
|
Details:
• Put the JavaSript line last. <a href="http://zfacts.com/p/447.html" id="zF12" |
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: 2) Put the whole table inside of a pair of 'div' tags like this: |
US Economics:
, With Excel 


(Gov. vs Private employment)International Economics
General Data:

Clean-up in progress
Government Printing Office, Budget etc.
also, Economic Report of the President




Policy Data Bases:
Tracks Lobbyists
An independent Federal agency that acts as America's national record keeper.General Information:
Military Information:
Documents obtained under the freedom of information act.
"One-stop shop for open-source defense and military information. Periscope databases include usni military database, pentagon blue tops, daily defense news capsules and special reports."
U.S. Defense Dept Press Resources (news releases, photos, transcripts, slides, etc.).
CIA surrogate (non-profit).To search inside almost every CRS report on the whole web (and very little else)

The Congressional Research Service (CRS) is the policy research arm of the US Congress. With its $100 million budget and ~800 employees, it issues about 3,000 briefs, reports, short issue papers and longer position papers per year.
An arm of the Library of Congress, the Congressional Research Service is renowned for its non-partisanship and in-depth analysis, but it does not make its reports available to the public. However, it cannot prevent members of Congress from giving them out individually and some government agencies from posting reports they find relevant. Perhaps 1000 have become available on the web.
If you don't find what you want, look through the list of reports at PennyHill.com Press. If you find one you want, copy its Order Code and search for that here (e.g. RL31250 or "98-505 GOV"). (You must use RL31250, not just 31250.) If it's on the Web, this will find it. If not, you can pay Penny Hill $29.95.
|
A better program for Windows XP I have found that Fenton does not always work under windows XP. So far, when Fenton fails, this program workds: WMDecode.exe. Click here for the zipped version.
If you drag and drop a winmail.dat file onto WMDecode.exe it will extract the attachments into the folder with WMDecode in it. It should work for 30 days, then you can download it again for another 30 (that's what they say.) You can buy it for about $10 here. |
|
Fix the WinMail.dat Problem with Fenton First step is to download the fentun.exe file . It says it’s only for Win95/NT, but it works great on both my Win98 and WinXP machines. Save that file somewhere, I just put it in my program files directory (c:Program Files).
Next step is to open Thunderbird and find an email with a Winmail.dat file, and upon finding it, double click on it, (the winmail.dat file I mean.) A “Opening Winmail.dat” box will pop up, and you should select “Open with” and click on browse, then simply browse to wherever you saved fentun.exe and select it. Be sure you tick the checkbox that says “Do this automatically for files like this from now on". That’s it. from then on, double clicking on a Winmail.dat file in Thunderbird will automatically open Fentun which will show you what files are in the archive and offer you an “extract” button. Just extract the file in question. |