slayeroffice - web experiments gone horribly awry

07.01.2004 - Color Palette Creator v1.5

An email from Zak about the Color Palette Creator:

"I had [a] thought that if a person could store their base history in a cookie that would be incredible."

Indeed, that would be. A fine idea, so I've written it. Here's how it works:

When you've hit upon a base color that you like, you can hit the "save base" button that now appears below the "base color history" dropdown. This will add the base colors hex value to a cookie named "color_history". Everytime you save a color, the color value is appended to that cookie.

Once you have a color or two saved, you can call them up with the "view saved" button that is next to the "save base" button. This will open a DIV element that contains swatches of all the colors you've saved. Click on any swatch to select it and hit the "set as base" button to bring up a saved color palette.

Alternately, if you've changed your mind about the saved color, you can select it and hit the "delete" button and it will be removed from your saved colors. Further, if you've decided you can't stand the whole lot of them, you can hit the "delete all" button to clear every one of them out.

You know this, of course, but being as this is done with cookies your saved colors won't persist across different browsers or even different machines, though I have set them to an exceptionally long expiration date of July 1st, 2010 so they aren't going anywhere (unless you delete them).

When I saw this link, I knew you'd either already know about it , or get a big kick out of it:

http://bunnyherolabs.com/dhtml/monster-info.php

Perhaps you could come up with something similar? Imagine an asteroids style game where you shoot the images on a given site (since you cleverly replace them with floating img divs with absolute positioning)

heh heh heh...
Posted by Andrew Wooldridge on July 2, 2004 @ 5:03 am


hah, that's pretty good. I actually did write something like that many years ago with a small animated dog that would wander around the page doing various things, including relieving himself on this and that and leaving little doggie turds all over the place.

I like the idea of turning the page into a game -- that could be interesting.
Posted by Steve on July 2, 2004 @ 8:39 am


OK, here I go posting yet another link -- sorry about that . However I'll trade in all my link posting points just to get this one to you and hope that you'll get as completely hooked by it as I am getting:

http://www.ozoneasylum.com/

It's brain crack for DHTML/JS junkies like me. I think you'll find some really great foods for thought there.
Posted by Andrew Wooldridge on July 5, 2004 @ 4:57 am


wow, those guys are doing some slick stuff. I might have to get in on some of those 20 line contests.
Posted by Steve on July 5, 2004 @ 9:10 am

Comments have been closed for this post.