[Catalyst] external javascript files

Jennifer Ahn jenahn at stanford.edu
Mon Mar 24 21:43:07 GMT 2008


hello!

i'm tyring to call my external javascript library under 
myapp/root/src/myjavascript.js in my tt2 file by placing this line at 
the top of the tt2 file:
<script language="Javascript" src="/myjavascript.js" 
type="text/javascript"></script>

is this the right way to use an external javascript file in my template 
file?

thank you!

jennifer




More information about the Catalyst mailing list