#Check to see if cookie has been set
#If it has, set $isExtended var to Cookie var
$isExtended = $_COOKIE['isExtended'];
#and echo current value
echo "isExtended = $isExtended ;";
#and set element's rendered class
[COLOR="Red"]if($isExtended == 0)
#If it hasn't, echo default value
echo "isExtended = 1 ;";
Thanks for the replies guys, I really appreciate it.
However, I've tried using that line of code aswell.
and the line of code posted above.
Each time I get a return message that 'footer' is null... which I don't understand since there is a div with the id of 'footer'...
Yes, that particular way of fetching an element by id is from the Mootools framework, however, it's not the framework that I'm having an issue with, as no matter what syntax I use, even the most basic document.getElementById('footer').className='min';" returns that the footer is null.
The only question I have is why would it return the message of "document.getElementById("footer") is null" ?
I would greatly appreciate anyone that could help me understand this.
javawebdog Two things to remember:
"The only place success comes before work is in the dictionary."
"It's more than just a matter of survival. It's a matter of sympathy, compassion, passion and style."