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
For many Americans, Thanksgiving dinner might be the single largest, most calorie-laden meal that they consume all year. And since 36% of American adults and 17% of American youths would qualify as obese according to the Centers for Disease Control, a large number of Americans would benefit from some preplanning for what they'll eat during Thanksgiving dinner.
That's why this year, we're introducing a tool to help you add up calories that you might consume from a traditional Thanksgiving menu *before* you even sit down to begin this year's feast, using data from the USDA's Food Composition Database.
To use it, you just need to indicate the number of servings for each menu item that you'll be consuming at this year's Thanksgiving. Then just click the "Calculate" button to estimate how many calories your body will need to process! (If you're accessing this article on a site that republishes our RSS news feed, please click here to access a working version of the tool at our site.
Playing with the tool, you'll quickly find that the biggest hitters are the dessert items, where having slices of apple, pumpkin *and* pecan pie will easily spike the calorie count for your Thanksgiving meal by more than 1,000 calories.
You should also keep an eye on your bread stuffing, candied yam and mixed nut consumption, since these items aren't far behind. Please also note that Green Bean Casserole does not appear on this menu. That is not an accidental omission - we believe that green bean casserole is just wrong, where it doesn't belong on any table, anywhere, ever.
There's just one more thing to consider, and that's how our Thanksgiving meal calorie estimate compares with the USDA's estimates of the daily calorie requirements for someone of your age and activity level. As you may have found from using our tool, it's a very easy thing for a Thanksgiving meal to exceed an entire day's worth of calories.
Hopefully, this tool has provided you with the information that you need to have all the tasty goodness that you want in reasonably sized servings at this year's feast. Have a happy Thanksgiving!
Labels: food, health, thanksgiving, tool
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.