the ajax tag
Visualizing Inline Links
Joen of Noscope has just suggested, what I’ve been trying to tell people for nearly a year. With the advent of pages commonly referred to as “Web 2.0” sites, the styling of inline or AJAX links became an issue. Usually links have to be indicated to the user, since clicking them slowly loads a whole different page and the user is unable to interact with the current page. The common indicator we use for links is the hand cursor.

AJAX or JavaScript links, however, immediately change a part of the page you’re looking at, without reloading the whole page and without disturbing the user experience. The user can still interact with the page. For example on Pageflakes - the personalized start page I’m using - you can find both types of links: normal ones that take you to another page and AJAX links that allow you to edit settings or reload embedded RSS feeds. The cursor for both types of links is the same, a hand. For the Web-savvy, this might not pose much of a problem, we intuitively know most of the time what type of link we deal with but for other users, this can be increasingly difficult to discern.

The solution Joen proposes, and what I have previously used in these cases, is simply not changing the cursor at all. In reality, it’s not a link, it’s more of a pushbutton that looks different, so why not use the same cursor we use for buttons?
The implementation is rather easy as it only requires a simple cursor: default; rule. To allow for fallback (if the user has no JavaScript, the AJAX link becomes a normal link), I just embedd the stylesheet with JavaScript so I get a hand cursor for people without JavaScript, where the link actually reloads the page and a default cursor (pointer) for people where the link only affects the current page.
Adding a stylesheet via Javascript is rather easy too:
<script type="text/javascript"> <!--//--><![CDATA[//><!-- if( document.getElementById && document.createElementNS && document.getElementsByTagName ) { var javacss = document.createElementNS( "http://www.w3.org/1999/xhtml", "link" ); if( javacss ) { javacss.setAttribute( "rel", "stylesheet" ); javacss.setAttribute( "type", "text/css" ); javacss.setAttribute( "href", "/_css/java.css" ); javacss.setAttribute( "media", "all" ); document.getElementsByTagName( "head" )[0].appendChild( javacss ); } } else {
document.write( '<link rel="stylesheet" href="/_css/java.css" type="text/css" media="all" />' );
}
//--><!]]>
</script>
So, what do you think?
Mixing Your Feeds: Yahoo! Pipes
“Pipes is an interactive feed aggregator and manipulator. Using Pipes, you can create feeds that are more powerful, useful and relevant.”
Sounds complicated? Well, it isn’t! Use Yahoo! Pipes to remix and query all kinds of news feeds. As a typical Web2.0 application it can be controlled via simple Drag & Drop and doesn’t require any special knowledge. Try it out or have a look at existing Pipes.
Freshly Minted
Shaun Inman has once again outdone himself by launching two new websites and an updated version of Mint on one day, and a Monday at that! I’m quite fond of the new shauninman.com design with a duotone palette and a date-based background color.

Screenshot of the shauninman.com pre-launch intro page
More important however is the new version of Shaun’s website analytics tool Mint. For those who don’t know Mint, its simple yet powerful interface features an overview of visits, referrers, popular pages and searches which can all be taken in at a glance on Mint’s flexible dashboard. And with the help of third party Pepper — little extensions for the dashboard — Mint is even more powerful.
Speaking of Pepper (yes, that’s both the singular and plural form), the second website launched by Shaun today is the Peppermill, the new place to download the Mint software, official Pepper, widgets and third party Pepper. This ensures, that Pepper developed by others can all be found in one single place, somewhat reminiscent of the Mozilla Extension room. As Shaun puts it:
Until today tracking down third-party Pepper involved checking the Pepper Development forum religiously or subscribing to Sam Brown’s Peppermint Tea. And there was always the chance that a developer’s site and Pepper would disappear.
In case you aren’t convinced yet, there are some nice screencasts, screenshots and even a live demo on Shauns website. And what’s best, Shaun somehow tricked inflation. The price for Mint 2 is still at the same US $30 (€ 23,-) it was before. And existing Mint licenses can be upgraded for only US $19 (€ 15,-). That’s less than the price for two drinks around here, and believe me, it’s worth those two drinks.
If you don’t have your site Minted yet, you should definitely do so now — just take a look at the feature highlights. And if you already use Mint, did I tell you that Mint 2 is out? Because Mint 2 is out, you dinosaurs, you!