All jQuery Resources

Fancy Drop Cap – Part 1

Introduction Last spring when I implemented a new design for my weblog, I wanted to use a fancy drop cap for the first letter of the first paragraph of the first post of each page. There are all sorts of ways to make a drop cap happen, but since I was reading Jeremy Keith’s excellent […]
Read the rest of this entry »

TextMate Bundle for jQuery

JonBob and I have been working on a TextMate bundle for jQuery over the past few weeks. If you’re not familiar with TextMate and you own a Mac, you should definitely check it out. It has saved me countless hours of repetitive keystrokes with its bundles, which contain commands, code snippets, templates, and macros that […]
Read the rest of this entry »

Slicker Show and Hide

Last time I showed you how to make something appear and disappear on a web page. This time I’ll show you how to do it with style. Like we did last time, we’ll start with our $(document).ready() and put everything else inside of it. Adjust the Speed This time, however, we’re going to adjust the […]
Read the rest of this entry »

Documentation now linked

A new feature has been implemented; all jQuery code snippets we post will now be linked to the appropriate part of the documentation. So, for example, when we post: [js] $(‘div.foo’).find(‘a’).hide().end(); [/js] You can click on the function names “find,” “hide” and “end” for more information on the functions. These definitions are culled from the […]
Read the rest of this entry »

Basic Show and Hide

As promised in my last entry, I’ll be showing you a simple effect that you can do using jQuery: showing or hiding something, or a group of things, on the page. The two functions that let us do this are, not surprisingly, show() and hide(). jQuery also comes with another function called toggle(), which will […]
Read the rest of this entry »

Multiple $(document).ready()

One more great thing about $(document).ready() that I didn’t mention in my previous post is that you can use it more than once. In fact, if you don’t care at all about keeping your code small, you could litter your javascript file with them. It’s great to be able to group your functions within a […]
Read the rest of this entry »