December 2006 Archives
December 29, 2006 8:58 AM
CSS hackery help!
Back in May, I inherited Photo Organizer, and since then, there have been four releases. Nothing earth-shattering, but a steady series of incremental improvements, usually in the form of feature backports from the "unstable" tree.
The single biggest feature of the "unstable" tree is the use of CSS for layout and other formatting, plus other changes necessary to support better theming and internationalization. The work is well advanced, but I'm running into a few walls.
First, I can't seem to figure out how to have truly marginless <button>s. I'm using graphical buttons for things like next/prev links, but try as I may, I end up with a small (~few pixels) margin around the embedded image. This doesn't matter for most of the buttons, but there is a subset used for navigation and this results in the navbar being unacceptaby wide.
The navigation buttons are being used as implicit <a href> tags, which raises the question "why not just use the tag then?" -- basically, I want everything using the same mechanism, if at all possible. As most of these buttons/links appear within multiple forms (and occasionally standalone) I can't use <input type="image"> tags because of their implicit submit on click. On the plus side their borders/margins can be disabled!
Second, I can't seem to figure out how to have a proper 'onmouseover' event when hovering over a button. The button normally pops up a little tooltip (via the title attritubte), but I want to pop up a thumbnail of the next/prev image when the mouse hovers over the button as well as the tooltip. I could probably hack something together via a hidden <div>, but I'm almost over my head as it is.
The goal of these buttons is to enable a pure-text interface, making it trivial to translate it into different languages -- and the crucial bit is that the rest of the code can't care what the UI looks like.
December 28, 2006 10:35 PM
Sunsets and Rockets
Much of the MINWR, and the southern end of CNS, butts up against NASA's facilities, so while you get this view in one direction...
...you get this in another. (Granted, it was an hour later).
As you can imagine, this stretch of road would be a great place to watch a rocket launch, but In The Interest Of National Security(tm) the powers that be close off this whole area to the public. Sigh.
Along one of the trails I spotted this Great Blue Heron. It's a slightly blurry thanks to my handholding a long zoom, but it's still purty nonetheless.
It's nice to get out and away from a computer and software hax0ring. But more on that later.
December 26, 2006 6:33 PM
December 25, 2006 8:52 AM
It's a fact of life that on any trip, you inevitably forget something. Last time I, I forgot shampoo. This time, I forgot my Djembe, so I resigned myself to walking around the park with my camera, taking nearly 1200 photos during the three-day event. Unusually, I ended up with more good photos than bad. I must be getting better!
This one is the best photo of the lot. It just exudes cuteness, and aside from the trash can visible in the background, is perfect:
This one is another favorite. This young lady had a particular grace about her. It's hard to capture the essence of graceful motion in a still photograph, but I think it works here:
In other news, I'm going to try and do a picture-of-the-day from now on. Consider it an early new year's resolution or something.
Note to Advogato: Most posts won't have anything to do with Free Software -- and nanoblogger doesn't currently generate a separate feed for each category. Is there a way to filter? (Does anyone care)?