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.

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/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to