Page 1 of 1

solved about adding Java script

Posted: Tue Sep 19, 2006 9:27 am
by xiaoxue
hi people

sorry again I was wondering can I add in those java script in one of the theme i have?

The java script is call Status Bar Scripts where u can see flashing msg at the status bar.

Re: about adding Java script

Posted: Tue Sep 19, 2006 2:03 pm
by garvinhicking
Hi!

Sure, you can put javascript into your "index.tpl" file for example. Either embed them via <script src=XXX> in the head of your template file, or put the script itself into that file. Remember to replace { with {ldelim} and } with {rdelim}, or else Smarty will throw errors.

Regards,
Garvin

Re: about adding Java script

Posted: Tue Sep 19, 2006 2:42 pm
by xiaoxue
garvinhicking wrote:Hi!

Sure, you can put javascript into your "index.tpl" file for example. Either embed them via <script src=XXX> in the head of your template file, or put the script itself into that file. Remember to replace { with {ldelim} and } with {rdelim}, or else Smarty will throw errors.

Regards,
Garvin
heehee thanks alot I slove it xD