Featured Posts

Google Chrome makes JavaScript Sexy! Thanks Google! Get SpeedTracer at http://code.google.com/webtoolkit/speedtracer/

Readmore

Shawngo On Flickr Spell On Flickr

Readmore

WP Updated, New Theme, Confusion How do I get items in the Featured Posts carousel? No README.TXT file in the theme, no OBVIOUS theme settings, no wonder I don't use WP! :D Developers like README and INSTALL...

Readmore

Shawngo.com Rss

Animated Progress Meter using jQuery

Posted on : 13-04-2008 | By : Shawn | In : JavaScript

Tags: ,

1

Need an animated progress meter for an application? This particular example is set up to accept a percentage of completion and a couple other numbers you can set. It’s super easy to use and implement, the best part, ONE line of javascript (including the 30KB that is jQuery(packed)).

View the animated jQuery progress bar in action.

KML Generator for Google Earth – written in PHP

Posted on : 13-04-2008 | By : Shawn | In : PHP, google maps

4

A What Generator?

This script is a homemade botch that I wrote because I didn’t like any of the other KML generating scripts out there.

The one that I did find is for PHP5. Hmph..

Basically this script grabs info from my Fishing Spots MySQL database and fires it out as xml, which is
in turn, read by Google Earth as a .kml file.

On with the script

Ok, enough said. Here is the source:

www.shawngo.com/xgenerator.php

And here is the actual KML File Output:
www.shawngo.com/generator.php

And last but not least, the Google Maps + Fishing Spots page:
www.shawngo.com/hotspots.php