Blogs

Getting the Permit

It's almost every paddler's dream to paddle down the Colorado River through the Grand Canyon.  There's just something special about being on a river for 3+ weeks, being gone from civilation, and seeing the amazing places that the Grand Canyon has to offer.  I first signed up on "The List" back in 2005.  At that point, there was a 10-20 year waiting list due to how the list was managed.  In 2006, they implemented a weighted lottery system.  This allowed those who had been on the list a long time to be weighted more than those who were relati

Hiding/showing embedded flash in Firefox

Recently, I created an AJAX web site that had to hide and show a container that had a flash object element inside of it based on the user's actions.

I first created an html block like this:

<div id="flashContainer"><br />	<object></object></div>

Then I created the following two css classes.  As you can see, by default, my flash object is shown and the flash player runs.

Wenatchee River - 6/14/2008

The Wenatchee River Festival was this weekend.  I wasn't planning on going, because the river level wasn't great, but I had offered to help out with the festival.  I arrived at the bridge above Snowblind (Goodwin St) around 11:30AM.  That's not a great putin, but it allows you to run Snowblind and Granny's.  It was already 80+ degrees out without a cloud in the sky.

Foss River - 6/7/2008

Even though I wasn't feeling up for an adventure, it had definitely been too long since I went kayaking last. So I tagged along with Kennet, Boris, and Jeremy to the Foss River. Since my rack was broken, I even had to have them pick me up at my place.

GWT Implementation of GMaps Utility Library's Marker Manager

UPDATE: Many of the features in the Future Implementations section below are in GWT Overlay Manager for Google Maps.

The Future of Transportation Fuel - Part 1

Part 1: Overview

Right now, gasoline, petroleum diesel (petro-diesel), and jet fuel prices are steadily increasing to a point were many alternative transportation methods and fuels are becoming economical.  There are many reasons for the increase in price; shorter domestic supply, China and India becoming automobile based economies, commodities speculation, etc.  The point here is that those fuel prices are going up with no end in sight.

Scrolling to an Element

Note: This is not my code, but a friend of mine's.

When writing AJAX websites, developers sometimes need to scroll to a particular element within the DOM on the page. The most common approach, using javascript, is:

Google Web Toolkit Tooltip Extension

Using the Google Web Kit Google Group post, contrib: tooltip listener, as a guide, I came up with a little more general tooltip panel. You can specify a delay before showing the tooltip and/or a delay to automatically hide it after it opens. I've also included the CSS that I use.

Dynamically Switch Locales in GWT

Like me, a lot of people want their GWT applications to be able to change locale on the fly. While mine still only has one locale, I wanted to make sure that it could expand to more if necessary. Here's how I implemented dynamic local switching.

First, I store my languages in an XML configuration file, along with some other stuff for the application. A language element looks like this:

Get Locale via Javascript

Since a lot of websites need to be available in multiple languages, or localized, developers need a way to figure out what language the user prefers. Most modern browsers have a setting in their preferences or options that the user can change. If the user doesn't, then the browser most likely uses the operating system's locale (language and country) setting.

Syndicate content