Page 1 of 1

(SOLVED)Javascript Not Loading in Template

Posted: Fri Sep 04, 2009 6:21 pm
by ctrujillo45
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}







 
   
     
       
       


Re: Javascript Not Loading in Template

Posted: Fri Sep 04, 2009 7:26 pm
by nico63
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.

Re: Javascript Not Loading in Template

Posted: Fri Sep 04, 2009 8:09 pm
by ctrujillo45
Thanks. Problem Solved.