You are here: Re: Alternative to target="_blank" « HTML « IT news, forums, messages
Re: Alternative to target="_blank"

Posted by Adrienne Boswell on 05/23/07 05:38

Gazing into my crystal ball I observed "Chet" <cfnews@REMOVEcharter.net>
writing in news:ciQ4i.751$_H4.393@newsfe04.lga:

> Hi,
>
> I'm doing a small site with an XHTML 1.0 Strict doc type.

Good for you and strict.

>
> I want to be able to give the option of opening a preview page in
> a new window.

Your visitor already has that available through the browser. By opening
new windows, you break the functionality of the browser.

> I formerly could use target_blank in the anchor
> tag, but now it does not validate for my doc type. I've used a
> java script alternative but what about non-java script enabled
> users?

Then they're the lucky ones because they don't have to worry about you
spawning new windows on them.

>
> Is the noscript tag the best alternative or is there a better
> way?
>

The best thing to do is nothing - just let the user decide to open a link
in a new window/tab whatever.

> Thanks in advance to any who reply!
>

You're welcome, although you might not like this answer.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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