- From: Borek Bernard <borekbe@yahoo.co.uk>
- Date: Wed, 11 Jun 2008 09:27:01 +0000 (GMT)
Hi Kristof, my knowledge of JS is limited but how would you handle this situation: in your web app, you want to provide a keyboard shortcut for opening current item into a new tab. You need to invoke this action from JavaScript so setting CSS to some DOM element is not enough (AFAIK). I think window.open() would need some new optional parameter or something similar to support this. --- Borek ----- Original Message ---- From: Kristof Zelechovski <giecrilj@stegny.2a.pl> To: Borek Bernard <borekbe at yahoo.co.uk>; Ian Hickson <ian at hixie.ch>; whatwg at lists.whatwg.org Sent: Wednesday, 11 June, 2008 10:42:41 AM Subject: Re: [whatwg] Proposal: target="_tab" Once you have support in CSS, you can use DOM+CSS from JS. No particular support within JS is required. Chris -----Original Message----- From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Borek Bernard Sent: Wednesday, June 11, 2008 10:37 AM To: Ian Hickson; whatwg at lists.whatwg.org Subject: Re: [whatwg] Proposal: target="_tab" Hi Ian, What do you think about the GReader use case? In my eyes, it makes the _tab scenario quite valid. But, as mentioned by Adrian Sutton, there would be technical problems with older browsers so this proposal has to be scrapped. On the HTML/CSS level, this will be eventually handled by the 'target-new' property (which will be more flexible than target="_tab" as well) and I hope it will find its way into JavaScript too, eventually. P.S. Sorry for not maintaining the thread sequence correctly, I couldn't figure out how to do that (that's why I used the forum instead of the mailing list in the first place :) --- Borek __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Received on Wednesday, 11 June 2008 02:27:01 UTC