SOLVED GetCookie Is Not Defined


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


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.

Profile PM  
Subject: Re: GetCookie Is Not Defined
cool marked as solved


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0615s (PHP: 26% SQL: 74%)
SQL queries: 10 - Debug Off - GZIP Enabled