![]() |
adding a javascript clock in a template
Hello,
I'm trying to add a javascript clock into the template: /customer/top_menu.tpl This is the code: Code:
<html> But I'm getting an error in the template. What I'm doing wrong? |
You need to put {literal} tags around the script:
{literal}insert javascript here {/literal} |
Code:
{literal} I usually create a template (like time_js.tpl) as above.....then call that template as: {include file="time_js.tpl"} as below Code:
<html> Hope that helps.... Louise |
All times are GMT -8. The time now is 03:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.