From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: collapsing some headings on html export? Date: Thu, 25 Aug 2011 11:41:34 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwc3k-0005sU-K2 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 11:41:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwc3j-0003Ur-7o for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 11:41:36 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:53486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwc3i-0003Uh-Ut for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 11:41:35 -0400 Received: by gxk23 with SMTP id 23so2003815gxk.0 for ; Thu, 25 Aug 2011 08:41:34 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode does anyone have any advice on the following: I'm thinking I would like to collapse certain segments of a document when exporting to HTML, so e.g., if it looks like this: * Outline: Semester 1 ** 1.<2011-09-15 Thu> [[file:./syllabus/what-is-history-for][What is History For?]] Why we should write history, why everyone should do it, and why that means we need the Web. Hacker cultures, collaborative learning, knowledge sharing, non-expert culture. Background: [[http://www.journalofamericanhistory.org/issues/952/interchange/index.html][JAH - The Promise of Digital History]] *** Lab: Introduction to Wordpress & the course site. Blogging & social media review. Preliminary listing of potential NGO partners. I'd like to display just this by default: Outline: Semester 1 1. Sept. 15, 2011 What is History For but permit viewers to click on the headline or a '+' box to see the details. Is it possible to do this somehow, e.g. by embedding some javascript code somewhere or something? Really just wondering... Thanks, Matt