You are here: Re: Replacement for target=" ... " « HTML « IT news, forums, messages
Re: Replacement for target=" ... "

Posted by freemont on 08/08/07 21:19

On Tue, 07 Aug 2007 22:51:08 +0200, Juerg Beck writ:

> I have some more links on this page that I would like to be openend in
> another tab or window. But XHTML strict does not allow the use of the
> target attribute.
> Is there any replacement for this attribute that may be used with
> XHTML strict ?

Javascript method:

<a onclick="window.open(this.href,'_blank');return false;"
href="http://www.example.com">Link</a>

--
"Because all you of Earth are idiots!"
¯`·..·¯`·-> freemont <-·¯`·..·¯

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация