[Xitami] Javascript problem

Patricko xitami@lists.xitami.org
Sun, 25 May 2003 19:16:45 -0600


----- Original Message ----- 
From: <markhh@fencepost.com>
To: <xitami@lists.xitami.org>
Sent: Sunday, May 25, 2003 4:44 PM
Subject: [Xitami] Javascript problem


> I am running Xitami 2.4d9 as an application under NT4, and I have a problem 
> with Javascript window.open() function.
> 
> When I host this page . . .
> 
> <html>
> <title>Testing the window.open() function </title>
> <head>
> <h1> Main Page </h1>
> </head>
> <body>
> <script language=javascript>
> window.open("NewPage.htm","displayWindow")
> </script>
> </body>
> </html>
> 
> . . . the Xitami server sends out this code . . .
> 
> <html>
> <title>Testing the window.open() function </title>
> <head>
> <h1> Main Page </h1>
> </head>
> <body>
> <script language=javascript>
> new Object()
> </script>
> </body>
> </html>
> 
> 
> . . . the window.open() function has been replaced with new Object().
> 
> Has anyone seen or solved this problem?
> 
> Cheers
> Mk
<html>
<title>Testing the window.open() function </title>
<head>
<h1> Main Page </h1>
</head>
<body>
<script language=javascript>
window.open("default.htm","displayWindow")
</script>
</body>
</html>
works here on 2.5b5
what Java do you have installed?