Ask YC: How do you deal with external urls?
Yesterday our team had a lengthy discussion/debate on whether to let users navigate to new pages within an existing tab/window OR open new tabs/windows for external urls. We weren't able to come to a consensus. Hence this question!
The Social News feature we are building for the niche market contains external urls. And we also have other features in the pipeline, that may or may not have external urls. Hence the dilemma!
What do you guys think about this classic web usability problem?
15 comments
[ 5.4 ms ] story [ 71.2 ms ] threadI say "in general", because there might be specific use cases where a new tab/window makes more sense. Maybe you expect the user to want to keep both windows on the screen, or maybe you expect the user to spend a lot of time or drill down deep on the external page. It's hard to say without knowing more, but for a regular social news site, my personal preference is for same window.
http://domain.opendns.com/thejack.humboldt.edu
With the icon... and some text.
For example, links received in email, if you view the email via a webmail client gmail for instance, and click on the link, it will open in a new window.
I think it depends on the % of users that will want to go back to your app after looking at the link. And with ajax type apps, the back button just doesn't cut it.
The "Strict" standard, rightly, enforces a division between content (XHTML), design (CSS) and behaviour ({Java|ECMA}script).
If you want links to open in external windows, attach a behaviour to the link class with JS. Just make sure that behaviour is off by default, though, because otherwise people like me who know what we're doing won't use your site.
It's not obnoxious if you consider that some people really don't understand how the web works or what the difference is between sites. In that case it's a convenience.
This is an idea which should be left as a "best practice," but allow for reasonable differences.
On the issue directly: the web default is to open links in the same window. Opening new windows is in Jakob Nielsen's list of the top ten very worst web design mistakes†. (It's #9 as of his 2007 update.) So skip the discussion, go with that, and later run some tests comparing stay-in-page with open-new-window on whatever metric is important to you. (Page views? Non-annoyed users? Return visits? etc.)
† http://www.useit.com/alertbox/9605.html
People just love to argue about silly shit like this.
Homework assignment for everyone who felt compelled to chime in with their well-reasoned opinions:
http://www.bikeshed.com/