Threat levels, redux

Wednesday, 31 December 2003

The first set was so much fun, here are four more fresh for 2004 for your enjoyment and maybe for your own site. Scroll down to get the HTML to add them to your site and what options are available. Here are two random samples from the menu.

Our new menu, columns A and B

You can use the HTML samples below on your own site to get the warnings they are shown with.

Conservative with headshots

To display the current terror alert level on your own site, you can add the following HTML to a page.

<script type="text/javascript" src="http://sedition.com/threat.js?t=cp"> </script>

The HTML below will randomize it. Randomized might be preferable to the real level. The real level rarely changes so isn’t as interesting as content, and the real level has almost no meaning whatsoever to the average North American.

<script type="text/javascript" src="http://sedition.com/threat.js?t=cp;r=1"> </script>

Liberal with headshots

<script type="text/javascript" src="http://sedition.com/threat.js?t=lp"> </script>

And randomized below (sample image not shown).

<script type="text/javascript" src="http://sedition.com/threat.js?t=lp;r=1"> </script>

Conservative with text

<script type="text/javascript" src="http://sedition.com/threat.js?t=c"> </script>

And randomized below (sample image not shown).

<script type="text/javascript" src="http://sedition.com/threat.js?t=c;r=1"> </script>

Liberal with text

<script type="text/javascript" src="http://sedition.com/threat.js?t=l"> </script>

And randomized below (sample image not shown).

<script type="text/javascript" src="http://sedition.com/threat.js?t=l;r=1"> </script>

Classic terror level

Well, sure it’s only 10 days old…

To display the current Classic Terror™ alert level on your own site, check the instructions.

Caveat

These are provided without warranty. Sedition·com has been in continuous service since 1998 and we intend to remain online in perpetuity but there is no guarantee we will be able to do so.

The JavaScript that drives these has been tested and works correctly in 8 different browsers on Macintosh but it is possible it will fail on other or older browsers. We estimate that problems will occur on fewer than 1% of active browsers but it’s also not a guarantee.

Happy New Year.

I would like to thank

Again, this was inspired by Geek and Proud and by turn Wacky Neighbor.

Technotes

Anyone interested in seeing how these work can learn all about it here: Passing JavaScript arguments via the src attribute.

digg stumbleupon del.icio.us reddit Fark Technorati Faves
Your information (required) Name*
Email*
Website

* Indicates required fields; email is used for validation and is not displayed on the site.

Your comment
Commenting on Threat levels, redux
Title

Body is limited to ≈1,000 words. Paragraphs—but not line breaks—are automatically inserted. Valid XHTML is required. These are the allowed tags–

<a href=""></a> <br/> <acronym title=""></acronym> <abbr title=""></abbr> <code></code> <pre></pre> <tt></tt> <ins></ins> <del></del> <hr/> <cite></cite> <b></b> <i></i> <sup></sup> <sub></sub> <strong></strong> <em></em> <h1></h1> <h2></h2> <h3></h3> <q></q> <blockquote></blockquote>