JQuery with SMARTY php
- by out_sider
This might seem a very noob question but I haven't found the answer yet.
I have a header.tpl file which contains xhtml code. I want to and some java script to it using jquery. But my problem is that it simple doesn't happen what I tell it to do.
Because the page hoster comiples php with SMARTY I had to make a small change to the block script, which was had the {literal} {/literal}. But the rest seems ok.
Btw the jquery.js is on the same folder as the header.tpl.
File header.tpl
http://feupload.fe.up.pt/get/SQWJvybQkDCmjEG
PS: I event replaced all the code by the getstarted tutorial on the jquery homepage
and added the {literlar} {/literal} (otherwise it would give an error) and it steel didn't work