Re: Using XHTML Strict Reference material

by "rudy" <r937(at)interlog.com>

 Date:  Wed, 27 Feb 2002 11:19:15 -0500
 To:  "Kehvan M. Zydhek" <kehvan(at)zydhek.net>,
<hwg-techniques(at)hwg.org>,
"Andrew McFarland" <aamcf(at)aamcf.co.uk>
  todo: View Thread, Original
>   newwindow=window.open(url,'name'  [snip]
>
>   <.a href="javascript:newwin('url')"></a>

hi kehvan

that's a poor solution -- no offence  ;o)

non-javascript browsers cannot use those links at all!!

see a full explanation and suggested solution in this tutorial --

   Links & JavaScript Living Together in Harmony
   http://www.evolt.org/article/view/17/20938/index.html

> Not sure if JavaScript solutions are part of your consideration,
> but considering how many of my sites use secondary windows
> for off-site navigation, this script has come in VERY handy...

i understand the desire to have off-site links open in a new window

it is quite a common practice, but that does not make it good

it comes from the insecurity of site owners who want visitors to click to
another site and yet still have their site stay open in the original window

my personal opinion is that the whole concept of forcing second windows
upon unsuspecting site visitors is flawed

give site visitors more credit

many do not want second windows

many know how to open second windows by themselves

even if links open in the same window, if your site has compelling content,
they will be back

think about it, and think about why the w3c deprecates the target attribute


rudy
http://rudy.ca/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA