You are here: Re: Forcing a script to open a link in a new window or tab « HTML « IT news, forums, messages
Re: Forcing a script to open a link in a new window or tab

Posted by freemont on 05/06/06 03:45

On Fri, 05 May 2006 08:47:15 +0000, Jeremy Brown wrote:

> Thank you for the help. Where would I put this tag, as I am unfamiliar
> with its use. I am a bit slow.

Just stick that in any anchor tag you have, and it'll open in a new window.

<a onclick="window.open(this.href,'_blank');return false;"
href="a valid link here">text or image</a>

Dunno if it'll help your situation, but there it is. That's what I use.
Not that much more code than target="_blank".

--
"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

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