From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Some Javascript Adventures Date: Tue, 12 May 2009 17:51:14 +0200 Message-ID: <87eiuuxqtp.fsf@kassiopeya.MSHEIMNETZ> References: <4A0960BE.2050005@manor-farm.org> <87r5yuxwhz.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3uCg-0001u1-S0 for emacs-orgmode@gnu.org; Tue, 12 May 2009 11:47:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3uCb-0001qy-SL for emacs-orgmode@gnu.org; Tue, 12 May 2009 11:47:38 -0400 Received: from [199.232.76.173] (port=52828 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3uCb-0001qt-O0 for emacs-orgmode@gnu.org; Tue, 12 May 2009 11:47:33 -0400 Received: from mail.gmx.net ([213.165.64.20]:57829) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M3uCa-0002MK-VO for emacs-orgmode@gnu.org; Tue, 12 May 2009 11:47:33 -0400 In-Reply-To: (Carsten Dominik's message of "Tue, 12 May 2009 15:49:27 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org If your Sitmap looks like this normaly: * Folder 1 - item 1.1 - item 1.2 * folder 1.1 - file 1.1.1 * folder 1.2 - file 1.2.1 * Folder 2 - item 2.1 - item 2.2 It collapses all, but the top folders on startup: * Folder 1 * Folder 2 Each folder can be clicked, to expand and collapse from now on. To do this with each TOC, just use another CSS selector in the jQuery code: >>> >>> >>> You can set up a buttons to call these functions: >>> >>> >> name="toggletimestamp" >>> value="Toggle Time Stamp" >>> id="toggletimestamp" /> >>> >>> >> name="toggledone" >>> value="Toggle Done" >>> id="toggledone" /> >>> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode