Re: [WSG] Opening links in new window with XHTML

2005-04-04 Thread Martin Heiden
Tat, Am Sonntag, 3. April 2005 um 16:02:19 haben Sie geschrieben: TO I'm trying to have a link open in a new window (like I've done a million TO times). however the validator doesn't like this. TO This page is not Valid XHTML 1.1 TO http://www.w3.org/TR/2001/REC-xhtml11-20010531/ ! You seem to

Re[2]: [WSG] Opening links in new window with XHTML

2005-04-04 Thread Martin Heiden
Tat, Am Montag, 4. April 2005 um 08:14:22 haben Sie geschrieben: MH uncomment the target section, give it a name and put it inside your MH site. Then modify the doctype of your pages to point at the new MH driver. Sorry, actually you have to add this section: !-- Target Module

Re: [WSG] Opening links in new window with XHTML

2005-04-04 Thread Kornel Lesinski
On Sun, 03 Apr 2005 15:31:49 +0100, Vlad Alexander [EMAIL PROTECTED] wrote: You do it via JavaScript. For example: a href=http://mysite.com; onclick=window.open(this.href); return false; onkeypress=window.open(this.href); return false;/a This is the most accessible way to do this. No, it

[WSG] Opening links in new window with XHTML

2005-04-03 Thread Tatham Oddie
All, Im trying to have a link open in a new window (like Ive done a million times) however the validator doesnt like this. If we dont have the target attribute how are we supposed to do it now? Or arent we supposed to do it and leave it up to the use agent? This page is not Valid

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Jan Brasna
a) DOM - target is still present in DOM, so you can make it via this.target, via onclick or behavior, see below... b) onclick=return !window.open(this.href) - ugly, functional c) behavior, using eg. rel=external and adding the behavior (window.open or this.target) via JS - more info on

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Chris Stratford
Hey, You can use this DTD: !DOCTYPE html PUBLIC XHTML 1.0 Strict http://www.neester.com/DTD/xhtml-target.dtd; I made it myself from a tutorial. It is XHTML 1.0 Strict. But I modded it to allow target=_blank :) Hope it helps :) Tatham Oddie wrote: All, Im trying to have a link open in a new

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread XStandard
Hi Tat, You do it via JavaScript. For example: a href=http://mysite.com; onclick=window.open(this.href); return false; onkeypress=window.open(this.href); return false;/a This is the most accessible way to do this. If the user agent does not support JavaScript or it is disabled, the link

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Kim Kruse
Hi Im trying to have a link open in a new window (like Ive done a million times) however the validator doesnt like this. Take a look at this page http://www.accessify.com/tutorials/the-perfect-pop-up.asp or create a custom dtd (kinda cheating IMO) You should ask yourself if you really need to

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Paul Novitski
At 07:14 AM 4/3/2005, Chris Stratford wrote: You can use this DTD: !DOCTYPE html PUBLIC XHTML 1.0 Strict http://www.neester.com/DTD/xhtml-target.dtd; I made it myself from a tutorial. It is XHTML 1.0 Strict. But I modded it to allow target=_blank Further on this subject, here's some interesting

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread designer
(U.K.)www.gwelanmor-internet.co.uk - Original Message - From: Tatham Oddie To: wsg@webstandardsgroup.org Sent: Sunday, April 03, 2005 3:02 PM Subject: [WSG] Opening links in new window with XHTML All, I’m trying to have a link open in a new window (like I’ve

RE: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Tatham Oddie
] On Behalf Of designer Sent: Monday, 4 April 2005 12:41 AM To: webstandards group Subject: Re: [WSG] Opening links in new window with XHTML Hi Tatham, Of course, if you make it XHTML1.0 transitional, it'll be fine! !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Patrick H. Lauke
Paul Novitski wrote: My intuition tells me that if custom DTDs proliferate then web standards will lose some of the commonality that holds them together (however shakily) today. Agreed. Also, on the subject of custom DTDs and target attributes: what always strikes me is that doing this

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Jan Brasna
I think Ill just leave it and they can use the middle-click if they want Good decision! -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com ** The discussion list for http://webstandardsgroup.org/ See

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread tee
I¹m trying to have a link open in a new window (like I¹ve done a million times)Š however the validator doesn¹t like this. Take a look at this page http://www.accessify.com/tutorials/the-perfect-pop-up.asp or create a custom dtd (kinda cheating IMO) You should ask yourself if you really

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread designer
You may be interested in my short piece fenestration for the masses at: http://www.marscovista.fsnet.co.uk/gwelanmor/comment/scribblings.html :-) Bob McClelland, Cornwall (U.K.) www.gwelanmor-internet.co.uk ** The discussion list for

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Patrick H. Lauke
tee wrote: Whenever I surf the internet, I like to open a new window if link to external site because I simple hate using 'back' button, reason: many ill designed sites force user to reload entire page again and again once a 'back' button is clicked. Many web standards compliant site don¹t' have

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread David
Somewhat off topic but wonder if any javascript could get a window to open up in a new tab? I know only maybe 30% of people have a tabbed browsing capable browser but I just think it would be cool. lol. Patrick H. Lauke wrote: tee wrote: Whenever I surf the internet, I like to open a new window

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Paul Novitski
At 09:00 AM 4/3/2005, David wrote: Somewhat off topic but wonder if any javascript could get a window to open up in a new tab? I know only maybe 30% of people have a tabbed browsing capable browser but I just think it would be cool. lol. David, I use Firefox, set to open new pages in new tabs

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Kvnmcwebn
Even on click pop up windows can be blocked by some strick pop up blockers. Does this concern anyone, or are these cases rare? Theres a guy in the office that has pop up blocking software with strict settings. In fact it dosnt permit the typical on click script to launch a window without a tick

Re: [WSG] Opening links in new window with XHTML

2005-04-03 Thread Kvnmcwebn
wow, at least that seems like a reason to make sure that you include a close window button in the pop up window. David, I use Firefox, set to open new pages in new tabs rather than new windows. I've had the disconcerting experience of going to a site that opens a child window with specific