On Tue, May 26, 2009 at 3:21 PM, gerhard <[email protected]> wrote:
>
> Still trying to formulate this...
>
> Looking at the html source of a notebook,
> it looks like the output from a cell is in its own <div>,
> so folding and unfolding the output should be straight forward
> (e.g., using code from 
> http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
> )
>
> So a next step would be to get sections of a notebook
> into a <div>? If this can be made recursive,
> I believe I would want to be able to fold based on <hi>, i=1,2,...
> since headings using MCE have become easy to add!

Oh, that would be really nice.  Just make each <hi> section have a
folding button.   That's great and very simple.
I tried that  http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
which feels cool.  Does it use jQuery?  Are there any folding examples
that just use jQuery?

Could you make a mockup by saving the HTML from a worksheet to a
static file, etc., of what
a folding sage worksheet might look like, where folding is determined
by the <hi>'s?

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to