https://www.icyphoenix.com/viewtopic.php?f=35&t=6331&p=43135#p43135
-----------------------------------
elpulgas
Tue 18 Aug, 2009 19:14

GetCookie Is Not Defined
-----------------------------------
Hi there,

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.
[code linenumbers=false]<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>
[/code]
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  :roll: . Does anyone know how to fix it? Thanks in advance  :mrgreen:


[b]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.[/b]


