I was scouring the internet looking for a freely available “Password Strength Meter” script. You’ve probably all come across them. The vast majority are useless. They’re useless because they use mainly empirical methods to determine the strength of a password. Whilst empirical methods may provide a good estimate for the strength of a password subject to a brute force attack. Most don’t even consider dictionary or hybrid-dictionary attack mechanisms. So… I decided to make my own.
If you’ve been programming in PHP, or other object oriented languages, you may have come across “this” or “self”. With jQuery, we can write $(this) to select an element in the DOM (Document Object Model). In this tutorial, I’ll demonstrate how and why $(this) is useful. To do this, we’ll be writing a simple image rollover script.
Unordered lists have a number of useful applications. They are commonly used to structure a site’s navigation. I have found, in a number of web applications, that the ability to reorder (sort) such lists would be extremely useful. So, how can this be achieved?