Re: Re: new standarts, target=blank
andy varganov <[email protected]> Sat, 31 May 2003 13:07:38 +0100
| Newsgroups | gmane.comp.cms.xaraya.ui |
|---|---|
| Message-ID | <BAFE599A.E00F%[email protected]> |
> "Tomislav Grabic" <[email protected]> wrote in message > news:bb9t5t$vvt$1-FogMEOs31dotat4ziPANHlKoq+OfwspIVIuBW6zZ0iQ@public.gmane.org >> I just read this article: >> http://www.sitepoint.com/article/1041 >> if Xaraya is to support xHTML and this is the way to go if w3c >> recommendations for xhtml 1.0 strict are to be met by Xaraya (and by >> thus, Javascript is needed), what are users without javascript turned on >> going to get out of this?? > > Well, I have been changing the targets when I see them in the validation > routines. I am not quite sure what we can do there:( I really don't like > the idea of JS for just opening a new window, but what other alternatives > are there? Any suggestions? > I guess it's because of misuse of pop-ups and because lotsa new browsers start using tabbed interface, so there is no 'real' need to open content in new windows. Possible solutions may include: 1) shift-clicking /cmd-clicking (right-click with 'open in new window' option) 2) use transitional, not strict dtd 3) onclick="window.open(this.href,'_blank');return false;" which doesn9t work on some browsers, like IE/Mac, BTW 4) or to fool validator http://development.incutio.com/simon/targetBlankExperiment.html Some more links/resources: http://www.uninetnews.com/xhtml/xhtmlversions.php http://www.w3.org/TR/xhtml-modularization/ http://www.w3.org/TR/2002/WD-xhtml2-20020805/mod-target.html http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_targetmodu le http://aamcf.co.uk/html/attr