Changing Picture Gallery in Javascript

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
claire
Forum Members
Forum Members
Posts: 13
Joined: Wed Oct 22, 2008 2:45 pm

Changing Picture Gallery in Javascript

Post by claire »

Hi I am looking to add to my cms template a picture gallery where the images change (roughly 7 images) and they are all timed to appear one after the other slowly.  I have the Javascript code working correctly but as soon as I put it into cms it doesn't display.  I put the Java-script code in the head and the rest in the body section.  Any advice would be greatly appreciated!

I am using version 1.4.1 on a debian operating system

Thanks

Claire
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: Changing Picture Gallery in Javascript

Post by SideshowBob »

Hi Claire,

Have you wrapped your javascript in the literal tags? e.g.

Code: Select all

{literal}
  <__script__ type="text/javascript">
    //My script
  </__script>
{/literal}
Otherwise please post a link. You are more likely to get a quick answer with a link.

Hope that helps,
Bob
claire
Forum Members
Forum Members
Posts: 13
Joined: Wed Oct 22, 2008 2:45 pm

Re: Changing Picture Gallery in Javascript

Post by claire »

Hi

Thanks for Replying, I will try the code with (literal tags) and hopefully it will work ok,

Claire
Post Reply

Return to “Layout and Design (CSS & HTML)”