Category Archives: Uncategorized

An Event Apart SF 2011 – Resources and Sound Bites – Part 2

all presentations: http://aneventapart.com/2011/sanfrancisco/slides/ Using Flexible Boxes – Eric Meyer, author, CSS: The Definitive Guide, 3rd Ed. flexible boxes are sort of like tables, but behave much better and do cooler things. starting with: a list with list items (boxes of … Continue reading

Posted in Uncategorized, web design | Leave a comment

How To Make An American Flag with CSS3 Gradients

I recently came across Lea Verou’s CSS3 gradient pattern gallery, and was inspired to try my hand at making a css3 gradient pattern. I decided to make an American flag. This is not strictly a background pattern, since it requires … Continue reading

Posted in Uncategorized, css3, gradients | Leave a comment

How To Automatically Add Categories to Posts in WordPress

I had a need to create a category feed that included almost every post, except for a few exceptions. Rather than having to manually check a category each time you post, why not have that category automatically get checked? I … Continue reading

Posted in Uncategorized, php, wordpress | Tagged , , , | Leave a comment

How to wrap element in CDATA for rss feed using XSLT

I was trying to create a new rss feed using XSLT, from an existing wordpress feed, processed by Java and displayed as a JSP. It seemed to work ok, but when I tried to put it into feedburner, the XML … Continue reading

Posted in Uncategorized, wordpress, xsl | Tagged , , , | Leave a comment

How to print literal text and HTML entities in XSL

Use xsl: text disable-output-escaping=”yes”, with a CDATA element inside. Inside that you can put whatever you want. The code snippet plugin messes this up a little, but you get the point.

Posted in Uncategorized, xsl | Leave a comment

AJAX Load for Carousel Template – NextGen Gallery WordPress Plugin

The carousel template in NextGen Gallery by default uses a page load to navigate between each gallery image: http://nextgen-gallery.com/templates/carousel/ The post says “his could be optimized via a Ajax call, maybe someone pick up the idea.” But I haven’t been … Continue reading

Posted in Uncategorized, jQuery, php, wordpress | Leave a comment

How To Write Google Event Tracking Codes with JQuery

Google event tracking works via some code inside the onclick attribute of links. Rather than putting the code inside every link, you can write a few lines of jQuery and have the codes go into every link on your page.  … Continue reading

Posted in Uncategorized, jQuery | Tagged , | Leave a comment

How To Create Active State Navigation with JQuery

great little article with code samples here: http://www.andrew-turn.net/jquery-for-active-state-navigation jQuery is a clean and fast way to do active state navigation (using a specific class to denote that this link is the current page you are on). I recently updated a … Continue reading

Posted in Uncategorized, jQuery | Tagged , | Leave a comment

How To Detect Doctype With Javascript

I had an interesting problem recently where I actually had a need to detect which doctype a page was using, and run some css depending on which HTML version was being used (the publicId property). It took me a long … Continue reading

Posted in Javascript, Uncategorized, ie6, ie7, ie8 | Tagged , , , | Leave a comment

Show Hide Toggle Div Element with Javascript

Showing and hiding, or ‘toggling’ elements is one of the most common tasks in javascript. Here’s a great resource that shows 7 different ways to do this: 7 ways to toggle a div My personal favorite is the ternary operator: … Continue reading

Posted in Javascript, Uncategorized | Tagged , , | Leave a comment

Generating Random Numbers With Math.random() Javascript

The JavaScript function Math.random() randomly generates a number from 0 to slightly less than 1 (shown as

Posted in Javascript, Uncategorized | Tagged , , | Leave a comment

How to change the background color in Photoshop CS4

It is really easy to change the background color in photoshop cs4: 1. Select the layer (if your background layer is locked, click on it to unlock it) 2. Select the foreground color you want (click on the top square … Continue reading

Posted in Uncategorized, photoshop | Tagged | Leave a comment

How to create a transparent .GIF with white text in Fireworks

I have often noticed when I save my images as transparent GIF files, if they have white text the white turns transparent (which is NOT what I want). A common type of image I use is a rounded green button … Continue reading

Posted in Uncategorized, fireworks | Tagged , , | Leave a comment

How To Get The Selected Value From Select Drop Down Using Javascript

The desired behavior is to access the selected value from the select tag (select drop down list) by creating a javascript function that can be applied with an event handler (most likely onclick).  Here is an example of the markup: … Continue reading

Posted in Javascript, Uncategorized | Tagged , | Leave a comment

Bear Valley Snowmobile

Posted in Uncategorized, portfolio | Leave a comment

Power 9 Pro

Posted in Uncategorized, portfolio | Leave a comment

All Up In Yo Biz

Posted in Uncategorized, portfolio | Leave a comment

GLOW Zambia

Posted in Uncategorized | Leave a comment

Motherlode Motorsports

Posted in Uncategorized | Leave a comment