Using the animate() function built into the core jQuery library, you can generate complex, multi-step movement or visual effects using any element on your Web page. No Flash or Silverlight is needed, just the CSS and JavaScript capabilities built into your browser. The secret to complex animations is jQuery’s ability to “chain” multiple functions together to apply actions sequentially. Read on to learn how it’s done.
Posted on November 9th, 2008 in the JavaScript category |
Permalink |
No Comments »
I’ve recently had the pleasure of working with Thickbox, a lightbox implementation using the excellent jQuery JavaScript library. There are dozens of lightbox options available, so why did I choose Thickbox?
Posted on November 25th, 2007 in the JavaScript category |
Permalink |
No Comments »
Here’s a JavaScript challenge: find the height and width of a string of text. Sounds easy, right? But there is more to this problem than meets the eye.
Posted on October 18th, 2007 in the JavaScript category |
Permalink |
No Comments »
JavaScript’s innerHTML method is a handy way to grab or update text from any node within your HTML document. It’s simple to use, works great in every modern browser, and even has good backward compatibility with older browsers. There’s just one little problem: innerHTML is not a W3C standard. To maintain standards-compliance in your JavaScript code, you need to use Document Object Model (DOM) methods. This brief tutorial will show you how.
Posted on October 9th, 2007 in the JavaScript category |
Permalink |
No Comments »
Using optgroups in your select menus is easy enough to do statically, but what if you want to generate optgroups with JavaScript? I looked far and wide on the InterWeb for a way to create optgroups dynamically, and while there are countless examples of JavaScript-driven select menus, I found surprisingly little about dynamically-generated optgroups.
Posted on September 22nd, 2007 in the JavaScript category |
Permalink |
No Comments »