[Catalyst] external javascript files
Mesdaq, Ali
amesdaq at websense.com
Mon Mar 24 22:08:12 GMT 2008
I think in your case it would be /src/myjavascript.js
Thanks,
------------------------------------------
Ali Mesdaq (CISSP, GIAC-GREM)
Security Researcher II
Websense Security Labs
http://www.WebsenseSecurityLabs.com
------------------------------------------
-----Original Message-----
From: Jennifer Ahn [mailto:jenahn at stanford.edu]
Sent: Monday, March 24, 2008 2:43 PM
To: The elegant MVC web framework
Subject: [Catalyst] external javascript files
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
_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
Protected by Websense Messaging Security -- www.websense.com
More information about the Catalyst
mailing list