Page 1 of 1

java script

Posted: Fri May 11, 2007 10:30 pm
by fadetoblack
Hi, when I put javascript in my index.tpl file it stops working. I was using it for image rollovers on my menu.

can anyone help?

thanks

Re: java script

Posted: Mon May 14, 2007 11:45 am
by yellowled
fadetoblack wrote:Hi, when I put javascript in my index.tpl file it stops working. I was using it for image rollovers on my menu.

can anyone help?
Probably, but they're gonna need more information. Unless you describe more precisely what you were doing (code examples would be nice, URL to your blog also), no one will be able to help you with that kind of bug report.

YL

Re: java script

Posted: Mon May 14, 2007 4:26 pm
by garvinhicking
Hi!

When using javascript in smarty .tpl files you need to replace { with {ldelim} and } with {rdelim}.

Regards,
Garvin