I'm just a little confused because I keep getting an error that says "GetCookie is not defined"
It's made by this piece of code taht comes after each menu category.
<script type="text/javascript">
<!--
tmp = 'quick_links';
if(GetCookie(tmp) == '2')
{
ShowHide('quick_links', 'quick_links2', 'quick_links');
setWidth('var_width', 16);
//setWidth('full_width', '100%');
}
//-->
</script>
<!--
tmp = 'quick_links';
if(GetCookie(tmp) == '2')
{
ShowHide('quick_links', 'quick_links2', 'quick_links');
setWidth('var_width', 16);
//setWidth('full_width', '100%');
}
//-->
</script>
The IP website doesn't have it and neither does my site when I use a template like frozen phoenix. I guess I'm missing some JavaScript in the header or something but I'm not sure . Does anyone know how to fix it? Thanks in advance
Edit: Nevermind. I just noticed I had put the <!-- INCLUDE overall_inc_header_js.tpl --> thing on the footer. I just had to include ipscripts on header again to make it work.