help : cookie with javascript

Discussion in 'JavaScript' started by Maxell, Sep 29, 2007.

  1. #1
    hi all,

    I am using simple show/hide layers for menus, what I want is to use cookie so that if any menu is open it should remain open if a visitor goes to another page, and the open link text should be in BOLD, I tried a couple things, but I cant get it work, here I need your help please..

    please download my menu.html files here
    http://rapidshare.com/files/59123696/menu.html

    below is the function I am using for show / hide layer..

    thanks for looking at this thread.
     
    Maxell, Sep 29, 2007 IP
  2. ziogas

    ziogas Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe this article quirksmode.org/js/cookies.html will help you. Just insert cookie and every time user reloads page check that cookie and decide how to display
     
    ziogas, Sep 30, 2007 IP
  3. Maxell

    Maxell Guest

    Messages:
    335
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    page not found.
     
    Maxell, Oct 3, 2007 IP
  4. FR3@K

    FR3@K Banned

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    FR3@K, Oct 4, 2007 IP