Re: Menu
2004/10/14 12:03
Viewed 22401 times
Replies: 1/2

What cookie are you talking about? DynarchMenu is, by itself, not aware of any kind of cookies--so this is why I ask..

Re[2]: Menu
2004/10/14 12:19
Viewed 25509 times
Replies: 1/1

Oops. NavBar, not menu.

last
Re[3]: Menu
2004/10/14 12:38
Viewed 28478 times
Replies: 0/0

Oh ;-)

NavBar's saveState function doesn't declare any domain name for the saved cookie. This means that implicitly the domain is the domain where your page runs. You can restrict the cookie to a certain path by using the "cookie-path" preference, i.e. if you want the cookie to be available to any page inside the domain, add:

menu.prefs["cookie-path"] = "/";

before the call to “menu.generate()

last
Google