[Zope] RSS and JavaScript

Holger Lehmann lehmann@catworkx.de
Mon, 8 Jan 2001 10:18:07 +0100


Am Montag,  8. Januar 2001 04:11 schrieben Sie:
> On 7 Jan 2001 17:51:24 -0800 LARRY CHUON <lchuon@telocity.com> wrote:
> > Hi Zopistas,
> >
> > Happy New Year!

--snipp--

> ....Or do what you did before:
>
> <SCRIPT LANGUAGE="JavaScript" SRC="<dtml-var
> expr="openMe_js.absolute_url()">"></SCRIPT>

This will also do the trick:
<script language="javascript" src="<dtml-var openMe.js url>">


- Holger

> Use the absolute_url() method, so that the browser is sure of getting the
> right url for the script (which may have been your problem before).
>
> I'd use the first method as you can at least eyeball the html output of
> htmlPreview and see if the openMe function has acutally been include,
> before having to use whatever passes for javascript debugging in your
> browser.
>
> HTH,
> John
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--
-----------------------------------
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:lehmann@catworkx.de
http://www.catworkx.de
http://www.catbridge.de