Results 1 to 5 of 5

Thread: Adding Custom Javascript...

Threaded View

  1. #1

    Adding Custom Javascript...

    Hello,

    Happy Holidays To Everyone!

    Hope everyone had a great holiday!

    I have achieved a lot of progress, figured out the header issue I was having -- now I have another question regarding javascript. How do I put javascript into the templates? Meaning, I have tried putting some js code into the head.tpl, but if I put it as is (with <script> </script> tags, I get errors. If I put {literal} {/literal} tags around the code, I get no errors, but I don't get the code functioning. I also wouldn't mind if you could tell me about external css, I don't *think* that is the issue, but it might be...I am guessing it is js issue only. Meaning, I created a folder inside my general_wide folder called 'slider' put all my css and js code there and the path from my content.tpl file is: ../slider/css/ or ../slider/js/ -- Please help me with this. I am pretty sure the paths are correct, but maybe wrong?

    Thank you
    Brian
    Last edited by Brian Jester; December 27, 2017 at 09:06 PM.