[ale] New Tab

George Carless kafka at antichri.st
Sat May 19 18:42:17 EDT 2007


On Sat, May 19, 2007 at 06:11:43PM -0400, James Sumners wrote:
> Both methods are equivalent; and equivalently deprecated, too. There
> is no way to specifically spawn a new tab. That is up to the client.
> 
> While your method of opening a new window works, I would like to
> recommend something that doesn't annoy the hell out of those of us who
> dislike web pages behaving in undesired ways. If you do <a
> href="linked_page.html" onclick="window.open('linked_page.html');
> return false;"> instead, the page will open in a new window if the
> client has javascript enabled. If they do not, then the link will
> still open.

Better yet - let the user decide, whether or not javascript is 
enabled. 



More information about the Ale mailing list