« Previous | Main | Next »

I'm redoing previous articles to use jQuery, you know, just for fun

I like using the jQuery library so much, I started converting my old article examples to use it. I thought it would be interesting to see how much less scripting I would have to write. (A little less, but not much - my examples were never heavy on the scripting anyway). I think it made some more readable, too, in that I can glance at the script code and tell what's going on.

Here's a list of what I have converted so far, with a downloadable zip.

The obligatory disclaimer - using any library's methods is no substitute for learning JavaScript basics. If you haven't already added JavaScript to your list of things to learn as a web designer, stop mucking around and pick up Jeremy Keith's DOM Scripting.

For a seasoned html/css person, learning jQuery is arguably much easier than learning JavaScript from scratch, since its selector syntax is based on CSS selectors. Since I'm the CSS Guy, it is my library of choice, but only when a library is needed. Some pages require so little DOM manipulation that self-written functions easily fit the bill, as well as saving some downloaded bits.

On a related note, someone turned my favicon article example into a jQuery plugin.

Comments (2)

cssrain said:

thanks.
i'm studing jquery....

The someone said:

I agree. Learning Javascript basics is essential. If today you learn only jQuery, and tomorrow jQuery die. You acknowledge nothing.

Post a comment

If you want to show tags, use &lt; and &gt; for < and >, respectively.

Ask the CSS Guy

About this site.

Send questions, including links or code, to askthecssguy@gmail.com.

Subscribe to this blog's feed.

About

This page contains a single entry from the blog posted on March 7, 2008 10:24 PM.

The previous post in this blog was Pushing a shopping cart full of tea with CSS and JavaScript.

The next post in this blog is New CSS Off Contest April 5.

Many more can be found on the main index page or by looking through the archives.