Welcome Guest, Not a member yet? Register   Sign In
Having trouble with Javascript in a theme
#1

[eluser]Unknown[/eluser]
Hey there!

I'm having some trouble loading the javascript in an outside theme. I've been able to modify most of it to fit what I need, but the html that loads the js scripts doesn't seem to want to cooperate.

What it's giving me is:
Code:
script type="text/javascript" src="js/scripts.js"

Initally I thought I could keep it and the HTML would work as intended, but that doesn't seem to be the case. I was able to replace the css-loading script with the 'html helper's link_tag, but haven't found any helpers that replace script tags. Is there an easy way to add one, or do I need to try something different?




Theme © iAndrew 2016 - Forum software by © MyBB