You are here: Re: .html, how do I...? « HTML « IT news, forums, messages
Re: .html, how do I...?

Posted by Jukka K. Korpela on 09/03/06 07:18

mbstevens <NOXwebmasterX@XmbstevensX.com> scripsit:

> target="_blank" inside the anchor opens a new window.
> But don't do it -- it breaks the visitor's back button and has
> accessibility issues.
>
> JavaScript can also open a new window. That is a bad idea, too.

For completeness, I think it needs to add that such methods _can_ be
overridden by browsers or users, so they cannot (thank &Deity;) _force_
anything. JavaScript can be disabled. Opening of new windows can be
prevented separately. Moreover, a browser may allow a user override (e.g.,
right click on the link and select "Open in a new pane").

The JavaScript way is particularly bad when implemented in the wrong way
(with no fallback for non-JavaScript browsing), as it usually is.

> Just use plain anchors and let the visitor set her own browser to do
> whatever *she* wants.

When plain links are used, the visitor can also decide on the opening mode
on case by case basis. This typically means just clicking on the link to
open it in the current window and right-clicking it to select some other
way, such as opening in a new window, or in a new pane, or saving the linked
page on local disk. It's not that much about browser _settings_ as about the
way one _uses_ the browser.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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