19Nov

RedStatePoly, Mark 2: Call For Suggestions

Posted by Elf Sternberg as javascript

So, I just kicked out another edition of Red State Poly, and I’m trying to figure out what, if anything, I should do with it. There are a few things I could do: obviously, I could work hella harder to make it absolutely consistent with all browsers, but now it works with IE6, 7, Firefox and Chromium, so I’m happier with it.

I found a nasty bug in jQuery’s cookie handler. Under Chromium, it returns null, not an empty string, when there are no cookies. Ick. Handled and fixed. My code also passes most of the JSLint whines.

There are a few things I could do with it. I could (1) make it handle 20 names gracefully, (2) make it handle multiple dates per woman, and calculate fertility based on that, (3) make editing of incorrectly entered dates more graceful.

All of these would be work, some moreso than others, for what was essentially a lark I wrote months ago to teach myself how jQuery was different from EXT-JS. This page is a one-shot pure Javascript play that demonstrates my client-side scripting chops. There’s no server-side at all to it. Does anyone think I ought to pursue this further, or is it “good enough” as is? And what do I do with it?

The source code is all there, by the way, in case anyone wants to review it. I haven’t compressed the Javascript at all.

Comment Form

Subscribe to Feed

Categories

Calendar

November 2009
M T W T F S S
« Oct   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30