Having trouble with Javascript in a theme - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Having trouble with Javascript in a theme (/showthread.php?tid=45570) |
Having trouble with Javascript in a theme - El Forum - 09-26-2011 [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? |