[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] collapsing some headings on html export?
From: |
Daniel Clemente |
Subject: |
Re: [O] collapsing some headings on html export? |
Date: |
Fri, 26 Aug 2011 10:58:04 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.0.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
If you only want to expand/collapse headers in a web page, you may use jQuery
to handle each click.
I did it with this code:
http://www.danielclemente.com/pagina/esquemadorg.js
http://www.danielclemente.com/pagina/esquemadorg.css
Demo: http://www.danielclemente.com/hacer/emacs.html
The code is a bit more difficult than that because you should handle links to
collapsed sections in order to expand them as needed.
Daniel
El Thu, 25 Aug 2011 22:19:55 +0200 Christian Moe va escriure:
>
> Hi,
>
> org-info-js may be your best bet, but for a lightweight solution that
> works with your sample text without a single line of javascript, try
> this (mouse over headings to display contents):