rgarimella
asked on
Saving Menu States in a Cookie
Hi Folks,
I have a menu with Simple HTMl Hyperlinks. Using CSS i want to save the status of the hyperlink to green after a User visits the last page of each topic.
On the last page of each topic I have a variable that sets to true like
<script language="javascript">
var lastPage = true;
</script>
At this point I want to change the color of the hyperlink to green and save the state in a cookie
I have 35 topics, how do i save 35 states in 1 cookie with different name value pairs.
I know that there are 20 cookies to a domain.
Thanks
RG
I have a menu with Simple HTMl Hyperlinks. Using CSS i want to save the status of the hyperlink to green after a User visits the last page of each topic.
On the last page of each topic I have a variable that sets to true like
<script language="javascript">
var lastPage = true;
</script>
At this point I want to change the color of the hyperlink to green and save the state in a cookie
I have 35 topics, how do i save 35 states in 1 cookie with different name value pairs.
I know that there are 20 cookies to a domain.
Thanks
RG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.