Click to See Complete Forum and Search --> : window.open problems


stermercox
04-26-2003, 06:26 PM
Greetings, All,

I have a very strange problem. I use window.open to to open a new window
from the current window and display and image. There are narratives
available for some of the images and I tried to use window.open to bring up
another with the narrative, but instead of opening a new window, it replaces
the existing window. The code I use to open the window is:

<script language="JavaScript">
<!--
function Start(page,para) {
window.open(page, "NewWindow",para)
}
//-->
</script>

I pass window values (size, etc) via the "para" variable.

Can anyone tell me why it keeps replace the current window and not opening a
new one?

Thanks,

pyro
04-26-2003, 07:42 PM
Change "NewWindow" to a different name for each page...