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
java script
Re: java script
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.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?
YL
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: java script
Hi!
When using javascript in smarty .tpl files you need to replace { with {ldelim} and } with {rdelim}.
Regards,
Garvin
When using javascript in smarty .tpl files you need to replace { with {ldelim} and } with {rdelim}.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/