I'm just starting out w/ Turbine 2.1

I'm trying to templatize a file that has substantial JavaScript in the HEAD
element.

I had hoped to put that where the html/JavaScript guy could edit it (i.e.,
in a velocity template).
Per this message in the archive
(http://www.mail-archive.com/[email protected]/msg01942.html)
I see I can put <script src="somefile.js"> tags into the head tag using ECS,
but that's done in code...

The page author has considerable additional routines defined between
<script> and </script>.
I don't want to force those into a src'd js file, nor do they go in the
screen class source.

Is there a better solution out there?
And does anybody know whether it's just "safe enough" to put this sort of
JavaScript into the start of the Layout template?
(i.e., within the BODY element)?

Thanks much,
  Jim Mackraz
  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to