February 24, 2007, 6:04 am PST
Seen at some Latin American music awards of some sort:

The above is Carolina Tejera, described in captions as an “actress and model.” Which is usually code for “gold digger,” “high-priced hooker” or, in Carolina’s case, “trophy wife.”
And then there’s this:

This is Ninel Conde, named in captions as a “Mexican singer / actress.” (They forgot “emergency flotation device.”)
Seriously, if this isn’t proof that we’ve militarized the wrong border, I don’t know what is. I say, let all women who look like either of these two enter the country freely. Hell, let’s send buses for them!
Continue reading ‘Yet More Proof We’ve Militarized The Wrong Border’ »
February 23, 2007, 7:48 am PST
Recently, the following comment was left on a previous blog entry, JavaScript: Handling Multiple Selections In A SELECT Box:
Hi. This Multiple Demo Select is cool. I was actually how I could fill in a list box B, where the values of B depend on value selected in list box A. More like a choose category, then the sub categories from db fill in the list box B. I want to do it without refreshing the page. Is it possible?
You can do that quite easily with AJAX. I sort of touched on it in another article, Dynamically Populating A Listbox From A Textbox Via JavaScript / DOM.
However, since this is a fairly common request in Yahoo! Answers, I figured it was about time to go ahead and make an example. You’ll be able to download source code for this example at the end of the discussion.
Continue reading ‘Populating A List Box From Choices In Another List Box Via AJAX, PHP And MySQL’ »
February 7, 2007, 4:42 pm PST
Recently asked on Yahoo! Answers:
What Javascript to use to click on an image and make it appear larger in the middle of the page?
I want to display my artwork on my webpage. I want to have it so on the left hand side are small images of my work and in the middle will be a large area. When the viewer clicks on the small image (or rolls over it), the large image of the piece will be in the large box in the middle. What javascript code should I use?
This is DOM manipulation in its simplest and purest form: Change an IMG tag’s source, alt and title attributes based on clicking a thumbnail.
I’ll make two demos: One that includes the thumbnails on the same page as the image to be displayed, and another that places the thumbnails in an IFRAME, so scrolling between the thumbnail and the full-sized image isn’t an issue.
Continue reading ‘Showing A Larger Image From A Thumbnail OnClick Via JavaScript / DOM’ »
February 6, 2007, 5:01 am PST
As I expected, the Chicago Bears lost Super Bowl XLI to the Indianapolis Colts. And, as everyone else has noted, the score doesn’t reflect how soundly the Bears were beaten.
I won’t bother getting into that, except to repeat the mantra I said even after Devin Hester’s opening kickoff return TD: “The Bears still have Rex Grossman under center.” That’s pretty much the executive summary of the game.
No, my problem is that with several bits of nonsense now officially discharged from debate — such as who would be the first black coach to win the Super Bowl, whether Peyton Manning’s legacy will be sealed with a win, etc., etc. — we can now move on to new nonsense.
Continue reading ‘The Chicago Bears Lose, As Expected. The Nonsense, However, Goes On.’ »