Writing our FACES off.

Posts Tagged ‘Code Snippet’

Improve usability by identifying links

When it comes to browsing the web, few things are more frustrating than clicking on a link that you expect to go to another page, only to find yourself stuck in a PDF morass.  Nothing breaks a user’s flow faster than a link behaving differently than how they expected.

As web designers and developers, it’s our responsibility to clearly label links so the user knows what is going to happen before they commit to anything.  When you warn your user about what they’re about to do, they’ll feel more confident using your site. This in turn will give your site more credibility, and ultimately leads to a better overall user experience.
(more…)

jQuery Snippet: Self clearing text fields

Here’s a very, quick, easy javascript snippet. Non front end developers should look away now.

An increasingly popular technique for laying out forms is to combine the label tag and the input tag into one succinct element (as demonstrated in the search box on this blog). This technique cleans up your page and leaves more real estate for user input. A big downside, however, is that you have to add an extra dose of javascript to make your text fields behave as they should.
(more…)