|
Posted by mbstevens on 09/03/06 02:09
On Sun, 03 Sep 2006 01:51:56 +0000, Joe M wrote:
> When I'm browsing a web page and there's a link to click on, sometimes it
> starts in the same window, sometimes it starts a new window. Sometimes if I
> right click on the link I can select to start in a new window or not,
> sometimes that option is not available. What controls this? Using just
> plain .html code with no code generation tools, how can specify all of these
> options (automatically start in a new window, automatically start in the
> same window, give the option for either, not give the option for either)?
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.
Just use plain anchors and let the visitor set her own browser to do
whatever *she* wants. She'll thank you for not interfering.
--
mbstevens
http://www.mbstevens.com/howtothumb/index.html
Navigation:
[Reply to this message]
|