GetCookie Is Not Defined »  Show posts from    to     

Icy Phoenix


Old Support Topics - GetCookie Is Not Defined



elpulgas [ Tue 18 Aug, 2009 19:14 ]
Post subject: 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: [Hide] [Select]
<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>

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.


DWho [ Wed 19 Aug, 2009 10:29 ]
Post subject: Re: GetCookie Is Not Defined
cool marked as solved




Powered by Icy Phoenix