ArmyNavy - adding javascript within a tpl
I think other have gone off at a tangent
all you have to do is add the line:
{literal}
at the beginning of your javascript
and finish off with
{/literal}
what this does is tell smarty to ignore everything inside the brackets - i.e to read it (javascript) literally,
Chris
__________________
Chris
some carts at v4.4.5 security patched on a hardened managed unix server
|