W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2003

Re: opening new windows

From: Matthew Smith <matt@kbc.net.au>
Date: Thu, 10 Jul 2003 19:52:12 +0930
Message-ID: <3F0D3E54.9030704@kbc.net.au>
To: "Scarlett Julian (ED)" <Julian.Scarlett@sheffield.gov.uk>
CC: "'w3c-wai-ig@w3.org'" <w3c-wai-ig@w3.org>

Scarlett Julian (ED) wrote:
> I know that it's not good practice to open new windows but I think that there are instances where it is valuable from a usability point of view. Currently I am working on a help system for an intranet and want the help page(s) to open in a new window (with the necessary prior warning to users of course) so that users can work through the help page whilst still looking at the site. My questions is, since the use of target is deprecated, how is it possible to open a new window without the use of javascript? I don't really want to use client-side scripting if at all possible but can't see any way round this problem. 
> thanks
> Julian

Depends on how you are creating your documents but, if you are using 
CGI, the help can be a form submit button that feeds all the current 
data into the help page to preserve state.  You then have a "done" 
button on the help page which re-creates the original page with the 
original data.

I used to have a form with a drop-down list; if the item that you wanted 
wasn't on the list, you could call a pop-up window in which you could 
create the required item, close the window, re-load the original page 
and then select from the list.

Making this accessible by re-coding as above, without the pop-up, 
simplified the whole process and obviated the need for some rather 
unpredictable JavaScript.

I'm assuming that, if you are using forms, you have access to CGI 
facilities, so the above could be done fairly easily.  Contact me 
off-list if you want code samples.



Matthew Smith
Kadina Business Consultancy
South Australia
Received on Thursday, 10 July 2003 06:22:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:24 UTC