Please consider donating: a local project in memory of my daughter

Archive for the "plugin" Tag

Signs of a poorly written jQuery plugin

So far with every single workshop I've given, both for advanced JavaScript and jQuery for Designers, this question (or some variation thereof) has come up: How do you know if the plugin is good to use? It's always dependant on the problem they're trying to solve, but in lieu of a better jQuery plugin ranking [...]

The Missing Stat: noscript

I use Google Analytics for my web sites, you might use Mint or something else bespoke, but if you're using JavaScript to track those stats (as Google does), you're not capturing how many users you have that don't have JavaScript installed. I've written a plugin which I'll share with you and also explain how [...]

jQuery multibinding events

Sometimes I find myself using the same event handler for more than one event on an element. Typically I just put the function in the global name space (or perhaps privately within the scope of the ready function depending on how the mood takes me), and then I'll refer to the function twice. But [...]

Element 'in view' Event Plugin

I've been preparing a few articles for jQuery for Designers and for .net magazine and in doing so I've had to write a plugin that could prove to be useful to share. I've created an event that will trigger when the element is scrolled in to the viewport.

The Silky Smooth Marquee

As we abused the Internet back in the 90 with tags like <blink> and <marquee> the last 10 years have seen the gradual extinction of these proprietary tags until we did full circle and the marquee effect appears in CSS 3. There's actually a very strong business case and requirement for the marquee tag - since [...]

maxlength plugin

It's a fairly common design pattern to want to limit the number of characters the user can input in a field whilst giving feedback to the user on how much they have left. So I've built a little jQuery plugin to do the work for me.

How to tell if jQuery is out of date

As with most projects I work on, there's normally some JavaScript interaction. Often, however I've got all kinds of different versions of jQuery going on in these projects so when I try to access the latest functionality, and it groaks, I'll go sniffing around to check if it's the latest version. Never again!