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

Oops. NavBar, not menu.

Re[3]: Menu
2004/10/14 12:38
Viewed 30199 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