js window.open

by "Michael Gerholdt" <gerholdt(at)fredonia.edu>

 Date:  Wed, 14 Nov 2001 20:07:16 -0500
 To:  "hwg-languages" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
This is misbehaving ....

It opens the popup window and begins to display the page. But the page
bombs out in that popup window. Then the main window, which was not to have
changed, displays the intended contents of the popup window. I have to close
the popup and hit the back button to get where I started.

This is inside an anchor tag using onclick - the function is called like
this:

onclick="query_desc('query_desc.asp','query_desc')"

and the function is this:

function query_desc(url, name){

msgthree=window.open(url,name,'toolbar=no,menubar=no,dependent=yes,resizable
=no,scrollbars=yes,height=300,width=400');
    }

Any pointers appreciated.


Thanks,
Mike

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA