[Zope] site structure

Max M maxmcorp@worldonline.dk
Thu, 14 Dec 2000 22:46:08 +0100


From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Farrell, Troy

>Though, I have a difficult situation:  If I understand correctly,
definition
>of JavaScript functions belongs in the <head> tags.  Does anyone know how
to
>do this?

Just pop in them old:

<script language="JavaScript">
<!--
function allwaysTrue(){return 1;}
-->
</script>

anywhere on your page. Makes no difference.

or you could:

<head>
<title>What goes here</title>
<dtml-var header_script missing>
</head>

And then just make shure that your "header_script" method doesn't do any
funny business through aquisition. ie. you should put an empty
"header_script" method if needed.

Regards Max M