[Zope] javascript problem

Erik Myllymaki Erik Myllymaki" <erik@pacific-shores.com
Tue, 22 May 2001 19:26:01 -0700


I am using the following code to popup a new window that has a calendar in
it:

<A HREF="javascript:window.open('cal','calwin',width='300',height='300',
location='0',menubar='0',toolbar='0',scrollbars='auto')">NewWin</a>

the popup window works fine, but the problem is that the parent window
refreshes to a non-existent page called '0' after the new window is opened?

Here is a bit of the error page:

  <P><STRONG>Resource not found</STRONG></P>

  Sorry, the requested resource does not exist.<p>Check the URL and try
again.<p>
<!--
http://localhost:9090/frames/0
-->

The page it is used on is at http://localhost:9090/frames/leads

and the popup windoe source is in http://localhost:9090/frames/leads/cal

Where is the '0' coming from and why does the page refresh?

Thanks,

--

Erik Myllymaki
erik@pacific-shores.com