Category: jQuery

Posts about jQuery, the JavaScript library.

Wobbly Links with jQuery

(Update – 22nd February 2012 – I’m no longer using this on my site. The effect described should still work, but I’m not sure it was a particularly good idea in the first place!)

As I was putting my site together, I was looking for a nice mouse-over effect for the main navigation links, something a bit different.

I came up with an idea for a sort of ‘wobble’ effect that would repeat while the mouse is over a link (as seen in the clouds above). I was just getting started with learning jQuery, so thought I would attempt to use it to produce the wobble.

I’ll explain the code I came up with below.

Continue reading…