to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
Writing in his WorldNetDaily column, Do the Math, Hugh Hewitt has issued a challenge for MSM "journalists" to measure the impact their writing has in the ongoing discussion of national issues versus the impact that bloggers have, as measured by actual readership.
My guess is that Hugh's challenge for MSM is unlikely to go far. In my experience, most journalists have trouble doing even simple math, such as counting the number of newspapers they sell to their subscribers. Expecting them to do real math that would involve advanced concepts such as adding and subtracting could well make their heads explode.
So, to avoid leaving a nasty mess for the janitor to clean up, I'm offering the following tool for the typical MSM columnist to compare their total actual readership for a given column versus that of a blogger to be determined by the user. Here's how it make it work:
Next, it's time to visit your competition, which you'll need to do twice, once just before your column is published, and once a day later. Many bloggers simply place a hit-counter on their website, which makes the job easy. Take these numbers, and enter them in the appropriate boxes below.
Now, you just need to click the "Do the math for me" button to see how you compare. As John Kerry would say, "bon chance!"
Obviously, whoever has the larger number of total readers wins, and is far more likely to wield greater real influence.
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.