Getting JS Into <head>
Posted: Thu Mar 31, 2011 2:14 pm
Hi all,
I am having a heck of a time getting a javascript call into the <head> section of my template. I have tried using a user created tag, and I have tried a {literal}{/literal} tag, all to no avail.
Here is what I have now:
But when I view the page in my browser and view the source code, this is all that's showing up:
Hopefully someone can tell me EXACTLY what I'm doing wrong, and PRECISELY how to implement this, because I am not a neophyte when it comes to html and js, but CMS Made Simple really has me stumped.
Thanks in advance for any and all help provided.
Tom
I am having a heck of a time getting a javascript call into the <head> section of my template. I have tried using a user created tag, and I have tried a {literal}{/literal} tag, all to no avail.
Here is what I have now:
Code: Select all
{literal}
<__script__ type="text/javascript" src="http://tacomaautorepairshop.com/js_vid/mootools.js"></__script>
<__script__ type="text/javascript" src="http://tacomaautorepairshop.com/js_vid/swfobject.js"></__script>
<__script__ type="text/javascript" src="http://tacomaautorepairshop.com/js_vid/videobox.js"></__script>
<link rel="stylesheet" href="http://tacomaautorepairshop.com/css/videobox.css" type="text/css" media="screen" />
{/literal}
Code: Select all
<style type="text/css" media="screen">
object { outline:none; }
</style>
Thanks in advance for any and all help provided.
Tom