include javascript global_content as include not embedded
Posted: Fri Jun 01, 2012 3:33 am
Hi;
I am looking for a way to be able to use the global_content to create javascript and rather than embed the javascript into the page using the <__script__> code </__script> method, using the <__script__ src=xxx></__script> method, similar to the way that stylesheets are included as virtual file includes.
I am not asking how to include javascript in pages, or how to include a real xxx.js into a page, I know how to do that, but how to make a database record appear to be a seperate xxx file include and not appear embedded into the page ??
I am looking for a way to be able to use the global_content to create javascript and rather than embed the javascript into the page using the <__script__> code </__script> method, using the <__script__ src=xxx></__script> method, similar to the way that stylesheets are included as virtual file includes.
I am not asking how to include javascript in pages, or how to include a real xxx.js into a page, I know how to do that, but how to make a database record appear to be a seperate xxx file include and not appear embedded into the page ??