Re: howto : link opens a new window?

"Jason Judge" <[email protected]> Fri, 5 Sep 2003 09:51:30 +0100
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya News Server
Message-ID <[email protected]>
"Tomislav Grabic" <[email protected]> wrote in message
news:[email protected]
> Jason Judge wrote:
> > "Tomas Nekvasil" <[email protected]> wrote in message
> > news:[email protected]
> >> http://www.sitepoint.com/article/1041
> >
> > Very good. In essence, the article describes this:
> >
> > JavaScript to be loaded with every page:
>
> isn“t it easier to just add this?
> onclick="window.open(this.href); return false;"

It may be easier, but won't work at all on some browsers. At lease the
previous technique has a fall-back: if the JavaScript does not work then the
link still works as a normal link, and the user can still choose to open it
manually in a new window.

-- JJ