Re: howto : link opens a new window?
Chris Dudley <[email protected]> Fri, 05 Sep 2003 17:10:35 +0100
| 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. > imho a fallback is essential. What with all the spate of viruses and malicious crud out there home users are getting a little more clued in, not necessarily about details but are using home firewalls and suchlike which often secure some aspects of web access. I know the enterprise version of ZoneLabs I have disbales all activeX and some javascript. It wont be long before one of them disables all javascript entirely. I would imagine its not that unreasonable for users to expect sites to still have basic functionality and for links to still work. miko