incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Frederickx <>
Subject Re: collapsebox preferences?
Date Fri, 01 May 2009 17:08:19 GMT

The state of the collapsable lists and boxes is saved in a browser
cookie JSPWiki<pagename>

If you want a control that forces all collapsed boxes to open, you
need to write some javascript.
Or probably better is just  to turn off the cookie handling of the
collapsable boxes and lists.

Here is how.
Deactivate following js line in jspwiki-common.js:

//var cookie = Wiki.Context.test(/view|edit|comment/) ? "JSPWiki"+name : "";
var cookie = "";


On Fri, May 1, 2009 at 5:05 PM, Bob Paige <> wrote:
> Where is the current state of a collapsebox stored?
> I know you can specify whether it should be open or closed by default, but
> if I have a page with several collapseboxes on it, the state of each one
> (open or closed) is preserved if I leave the page and come back. For the way
> I am considering using this, I can imagine some people missing the fact that
> several of these are 'closed' and think there is no content under some
> headings.
> Related question: is there any way to have a control on a page that forces
> all collapsed boxes on the page to open, revealing all hidden content in one
> click?
> --
> Bobman

View raw message