7 users online. Create an account or sign in to join them.Users
Include javascript inside Symphony
This is an open discussion with 4 replies, filed under Troubleshooting.
Search
You mean a javascript link? Same way as you would with normal HTML.
so it is possible to put this code inside my xslt document?
<script type=”text/javascript” src=”http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js”></script>
You bet.
Also, you main not be aware of it but you can insert some XPATH or a parameter in there by the following:
<script type="text/javascript" scr="{$workspace}/javascript/myfile.js"></script>
Which will allow you to reference javascript files you’re keeping in a folder in your Workspace folder.
Create an account or sign in to comment.
Maybe this is a dumb question but I’m wondering how to include Javascript inside Symphony’s front-end. I already know the way of using the <xsl:text> tags. Is is also possible to include a .js document and avoid the <xsl:text> manner?