cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sparkes <pe...@didm.co.uk>
Subject Generate javascript dynamically
Date Tue, 28 Sep 2010 08:34:31 GMT
  Hi,

I am using Google maps and have to dynamically insert the parameters for the individual maps
into 
the javascript. Using xslt I can generate the javascript within <script 
type="text/javascript"></script> tags in the html.

However, I wish to insert the javascript using <script src="maps/google.js" 
type="text/javascript"></script> and dynamically change the parameters within the
google.js file. Is 
there any way to make this call invoke the sitemap so that google.js can be generated dynamically.

Thanks

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message