Prevent broken animations in jQuery

Note: This article has been marked for a quality review and will soon be updated. I recently posted an article on Animating a Site’s Loading using jQuery – a handy technique to spice up any site. But an issue that became apparent using this technique, along with some other animation methods, is that sometimes user… Continue reading Prevent broken animations in jQuery

Hide an element with jQuery whilst scrolling

Note: This article has been marked for a quality review and will soon be updated. Today I came across an interesting problem that no amount of Google searches could solve. So I had to knuckle down and come up with a solution – and surprisingly it was much more simple that it had first appeared.… Continue reading Hide an element with jQuery whilst scrolling

10 Best Practises for jQuery Beginners

Note: This article has been marked for a quality review and will soon be updated. jQuery is the one of the most popular JavaScript frameworks available; it enables developers to write code that is easy to understand but that also allows really powerful functionality. There are a boat-load of tutorials out there on jQuery, and… Continue reading 10 Best Practises for jQuery Beginners

Spice up your Hyperlinks!

Now the words ‘hyperlink’ and ‘sexy’ rarely frequent the same sentence in my household, but something which appears to have come into fashion lately (namely I’m using it ;)) is the fading in of the hover state on hyperlinks. So instead of simply specifying the :hover state in your CSS, you use JavaScript or CSS3… Continue reading Spice up your Hyperlinks!

Building a Confirmation Dialog in JavaScript

Note: This article has been marked for a quality review and will soon be updated. A common feature of desktop applications is that when a user prompts a potentially destructive action, the program will display a confirmation dialog to ensure that the user doesn’t go and do something silly. To do this we will use… Continue reading Building a Confirmation Dialog in JavaScript