Archive for 2005

May 11th, 2005

Colorful Selections

Filed under: Cool Coding — jasonlevine @ 10:01 pm

I was looking to allow some of my company’s users to choose their own color scheme for our internal employee website, so I searched Google for some color selection controls. I wound up at this site.

It was quite ingenious. The control combines CSS, JavaScript, and XHTML to produce an easy to use color selection control that works both in IE and FireFox. I took the code, grouped the JavaScript alongside the XHTML portion, and made a generic ASP function that would produce the code given an ID String. You can see the result on my example page.

No Comments

No comments yet.

May 2nd, 2005

Nifty Possibilities

Filed under: Cool Coding — jasonlevine @ 12:02 am

Ok, I couldn’t wait. Here’s my first code entry. It’s called “Nifty Corners.”

I first found out about it from this thread in the Broadband Reports Webmasters and Developers Forum. The original article, however, is right here.

Basically, it lets you create rounded corners without using any images at all. It just requires a little JavaScript. Users with JavaScript disabled will get plain old non-rounded corners. Thus, like any good JavaScript UI addition, it degrades nicely.

The “no images” part means that changing your site’s colors can be as simple as a web page edit or two. No image editing needed.

Here’s my online example.

Enjoy!

No Comments

No comments yet.

May 1st, 2005

Welcome to Cool Coding

Filed under: Cool Coding — jasonlevine @ 11:28 pm

Welcome!

This post represents the inaugural launch of my Cool Coding blog. The idea for this blog came about when I realized that I had been finding some really nice web coding tricks and techniques here and there. I had been using them in my development work, but hadn’t organized them at all.

I decided to put together a site listing the code, some examples, and, of course, links back to my sources. The best way I could think of was to open a blog, something I wanted to experiment with anyway. And here it is.

In the next few days, I’ll be fine-tuning the site and adding some code links. Stop back later for some really cool code.

Thanks,

-Jason Levine

No Comments

No comments yet.

Page generated in: 0.318 seconds.
Powered by: WordPress 2.5