[Moin-user] Adding an ID to a parsed HTML entity
Reimar Bauer
rb.proj at gmail.com
Sun May 13 05:05:00 EDT 2012
Am 05.05.2012 00:29, schrieb Matt Savigear:
> Hi,
>
> I'm trying to find the easiest way to generate a "tree style" table of
> contents for my MoinMoin instance. What I need is a series of nested
> accordions or a full on tree with open/close widgets to the left as you
> would find in a standard folder-type or directory browser.
Look at the explorer theme on theme market
I guess that is a similar idea
Reimar
>
> Now, I can easily create nested lists using the default wiki parser, but
> I'd like to know if there is a way of adding an "id" tag to the top
> level <ul> which is created (i.e. <ul id="myidentifier">) without
> manually building the whole list structure from scratch in HTML and
> having to manually create the page links.
>
> That way I can just add a jQuery jsTree and convert the whole nested
> list structure in one shot: $('#myidentifier').jstree();
>
> Of course, then I'll need to figure out how to persist the list state
> between page transition, but I think there's already a cookie method for
> doing that built in to the jsTree code.
>
> Thanks for any pointers,
>
> Matt.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
More information about the Moin-user
mailing list