java script

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
fadetoblack
Posts: 1
Joined: Fri May 11, 2007 10:28 pm

java script

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: java script

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: java script

Post by garvinhicking »

Hi!

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/
Post Reply