[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening New Window.



> 
> >Hi,
> >
> >I'm trying to open a New Window when a User click a Link - This is what I have:
> >
> ><HTML>
> >
> ><HEAD>
> >
> ><TITLE>Blah Page</TITLE>
> ><SCRIPT LANGUAGE="JavaScript">
> >	function resume() {
> >msg=open("index.html","OpenWindow","toolbar=no,width=440,height=400,director
> >ies=no,status=yes,scrollbars=yes,resize=yes,menubar=no");
> >
> >	}
> ></SCRIPT>
> ></HEAD>
> ><BODY>
> >(Text here)
> ><FORM><INPUT TYPE="button" value="Resume" name="button1"
> >onClick="resume()"></FORM>
> >
> >Anything wrong with this? Cause it doesn't work - When I click on the Button
> >it does nothing.
> >No Errors, no anything :)
> >
> >Alex Kremer
> >axe@cybercomm.net
> >"Well, tough noogies. User Interface isn't always my strong point."
> >
   On X and (I think) on Mac there is a known bug: you must use open()
   method first without URL and then again with URL, or:
      msg=open("","OpenWindow",....);
      msg.location="full(!)URL";

   Then it works.

   Martin

------------------------------------------------------
| Martin Senger     m.senger@dkfz-heidelberg.de      |
|                   voice: (0049) 6221/422340        |
|                   fax:   (0049) 6221/422333        |
------------------------------------------------------
--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.