- Copy the code below and paste it into your HTML page.
- The widget will appear in your page.
- It replaces the link to zFacts in the code. The link will vanish.
- To tweak the appearance, visit the Customize Page.
Exact code used to create the clock above.
<a title='national debt' name='7839' rel=' type = 1; ' href="https://zfacts.com/p/318.html" id='zf26_6'>national debt</a>
<script type="text/javascript">(function() { var s = document.createElement('script');
s.async = true; s.src = 'https://zfacts.com/giz/G26/GND.php?id=6';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x); })();
</script>
- The <a>…</a> at the top turns into the Clock.
- Customization parameters can put inside: rel=’ ‘
- The <script>…</script> is the code that makes and runs the clock. It can be put at the bottom of your page if you like.
- Facebook and some blogging systems won’t allow JavaScript, so they can’t run the clock.
- If you are using WordPress or similar, you will need to put both parts inside some kind of HTML box.