Hello there-
I am using a template and I cannot get the Javascript random image rotator to load.
Below are excerpts from my template....what am I doing wrong? It works perfect in plain HTML. Thanks in advance.
Site: www.renegademikesportfishing.com
Attempting to get the header image to rotate.
-----------------------------------------------------------------------------------------------------------------------
Code in template:
{sitename} - {title}
{metadata}
{stylesheet}
{literal}
{/literal}
(SOLVED)Javascript Not Loading in Template
-
- Forum Members
- Posts: 20
- Joined: Tue Jul 07, 2009 5:29 am
(SOLVED)Javascript Not Loading in Template
Last edited by ctrujillo45 on Fri Sep 04, 2009 8:09 pm, edited 1 time in total.
Re: Javascript Not Loading in Template
Hi,
You have to remove the {literal} {/literal} tags for loading your javascript script file and verify your path. Prefer :
Use only the {literal} tags when you write a script inside like in this example :
{literal}
{/literal}
Regards, Nicolas.
You have to remove the {literal} {/literal} tags for loading your javascript script file and verify your path. Prefer :
Use only the {literal} tags when you write a script inside like in this example :
{literal}
{/literal}
Regards, Nicolas.
-
- Forum Members
- Posts: 20
- Joined: Tue Jul 07, 2009 5:29 am
Re: Javascript Not Loading in Template
Thanks. Problem Solved.