Synovic.com
It's been my policy to view the Internet not as an 'information highway,'
but as an electronic asylum filled with babbling loonies.
- Mike Royko
09/27/2005

Hello.

Below you'll find some interesting articles/tools/demos of interesting JavaScript. Why JavaScript? Well it is as close a thing as I have to a hobby. So, I figured I would share some of the more interesting JavaScript that I have needed. As I get more time I will try to add more.

Topics of interest:
Validator
Sarissa

Hashtable Object

Ever wish there was a Hashtable object implementation for Javascript? Well I have, so I created one. The major advantage of using this object is it eliminates the need to loop through object arrays looking for a match. Now you can store those same objects using a key and improve performance by just calling the get() method on the Hashtable to return the object that exists for given key.

Sorting Objects

Here is a solution for sorting a collection of JavaScript objects. For the purposes of this example, I have a JavaScript object that represents a single table row of data. As these objects are created they are stuffed into an array. So in the end I have an array that contains an object for every row of my table....

Sorting Objects - a concrete demo

So, using the concepts detailed in the sorting objects article. I put together a simple demo that uses the technique to sort a hard-coded table.

Dynamic Objects

A very cool feature of JavaScript objects is that they can be self defining.

Dynamic Objects - a concrete demo

For this demo I put together a simple example that demonstrates how a generic object can be defined using a different number of arguments to create table structures with a varing number of columns.

Code Spy ! only works in IE

The code spy was born out of necessity back when DHTML became possible with the 4.0 browsers. How else is a developer supposed to view and debug dynamically created HTML on the client, without putting a ton of alerts all over the place?

Basically the code spy is a window into the DOM. When active, just by moving the mouse over the page all of the code within the DOM is revealed. The code spy also goes one step further and lets you directly manipulate code on the page.

Color Picker

Just a cool color picker. It allows you to choose colors based on hue, saturation, and brightness as well as red, green, and blue channels. I modeled it after the Adobe Photoshop color picker. Check it out.