Collapsible Tags in Tags On View?

February 08 2008

  • 3 replies.
  • This question is not yet resolved.
  • This question was started by Michel.
  • Last post by Sjoerd.
Michel
user
08 February, 11:38
Hiya,

Is it possible to have collapsible tags in the Tags On View?
Sjoerd
Xopus Team
08 February, 12:14
Sure. The Tags On view is just an XSL (provided as an example with the simple demo). You can add some javascript and css just like on a normal html page to make the tags collapsible.
Michel
member
25 February, 09:43
Any idea how to make this work Sjoerd? I tried some javascript, but I need to give every tag a different ID code in order to make it collapse.

Any help at all is appreciated :P
Sjoerd
Xopus Team
25 February, 14:14
Take a look at the treeview code in xopus/media/treeview.

It uses the XSL generate-id() function for the ids, and it maintains a pipe separated list of the ids of the expanded elements as a parameter to the XSL.


React

HTML will be shown as HTML code.
Linebreaks and Links starting with http:// are automatically resolved