Re: howto : link opens a new window?
"Tomislav Grabic" <[email protected]> Sat, 6 Sep 2003 22:07:20 +0200
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
Jason Judge wrote: > "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. what about this? http://tom.me.uk/scripting/popups.asp (currently I can´t test it out on all browsers)