[Zope] Re[2]: [Zope] RSS and JavaScript

John Morton John Morton <jwm@plain.co.nz>
Tue, 9 Jan 2001 11:48:35 +1300 (NZDT)


On 8 Jan 2001 08:22:15 -0800 LARRY CHUON <lchuon@telocity.com> wrote:

> Hi all,
> 
> Thank you John for your quick reply to my previous email.  I've tried
> out both of your suggestions below.  It still does work.  I might have
> done something incorrectly as I am very new to these stuffs.  Here are
> the steps that I've taken:

I can't really tell you off the top of my head whether the javascript you
are using is correct - it could be that that is causing the problem.

> 1) I create a file called openMe_js with JavaScript function. Then, I
> add it to the same dir as htmlPreview.  The function looks something like:

> <script language="javascript">
> <!--
> function openMe(URL){
> window.open(URL,"","toolbar,status,resizable,menubar");
> }
> //-->
> </script>

This bit looks ok.
 
> BTW, I've put this code directly in htmlPreview.

Right. Then you won't need to do any of the other steps. I expect the
problem is with the javascript itself. 

John