Anthony,

Have you considered placing your JavaScript in external files? I think
this might simplify your life. ;)


All you need is a simple pipeline to serve up the .js files, like this:

<map:pipeline>
 <map:match pattern="js/*">
   <map:read src="js/{1}"/>
 </map:match>
</map:pipeline>


Then, in your HTML output, just reference the external script:

<head>
 ...
 <script src="js/myScript.js" type="text/javascript"/>
 ...
</head>


If you were using JavaScript in-line throughout your HTML, just
replace those sections with calls to functions which are defined in
your external JavaScript file.

-Daniel

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

Reply via email to