Sunday, June 05, 2005

bobbyvandersluis.com | Unobtrusive dynamic select boxes

One concern that has come about these related dropdown interfaces is that, since both dropdown appear when the page loads, who is to say that the user fills them out in order? And if they try to select the second one before the first they will be disappointed by an empty dropdown. One solution would be to initially hide the second menu. Another would be to leave the default code alone (with a fully populated dependant menu) when the page loads. The second option would require a little error catching in case the user's first menu selection eliminates their second one.

On a side note, I'm a bit concerned about a couple variable scope issues in these functions. In the first function he's passing locally defined variables to the onchange function. Maybe that's not a problem and I'm just being thrown off by the fact that the variables have the same names as the arguments in the function's definition. Either way something smells a little funny. I'm suspicious that there might be problems if there were two of these on a page.

Primer Timeline

If I were a fan of independent films (i.e. had the attention span to watch them and pay attention the whole time and then go back and re-watch them again so I could figure out what the fuck happened) this timeline would be exceedingly helpful. via kottke's review.

Thursday, June 02, 2005

Curiosity is bliss: AJAX Debugging with Greasemonkey

note to self: when get around to installing greasemonkey and trying this out don't forget to adjust the z-index

Wednesday, June 01, 2005