https://bugzilla.wikimedia.org/show_bug.cgi?id=33451

--- Comment #6 from badon <[email protected]> 2012-01-01 01:56:57 UTC ---
OK, I got the cause wrong so it's not a bug, but perhaps I can come up with
something as an enhancement. My original title for this report was:
"MakeCollapsible nesting of toggle id's does not work".

It seems there's no way to get nested behavior in non-nested elements - at
least not with id's. Doing it with classes does not toggle at all. For
non-nested elements, like in a table, it'll probably have to do some sort of
smart toggling where if it collapses a parent element, it also collapses child
elements, without blindly toggling them to a different state (possibly
expanding them instead of collapsing).

I'm not sure how that should be approached, but I think it'll have to be done
in the JS, with some new usage methods. Most importantly, I think it'll have to
work with classes in addition to id's. Dynamically generated tables would need
to also have dynamically generated id's, which is unnecessary if it works with
classes. Is that doable, or is there a technical reason why it only works with
id's?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to