Interesting!
Some Questions:
- do you want the hidden content to expand/collapse under the trigger (squads)?
- how many levels deep are you planning on going? This could be a very tricky solution if you go more than a few levels deep, as you can imagine.
- how do you envision this working responsively on smaller viewports such as mobile devices?
You are correct, the CSS quickly starts getting quite advanced, however this looks like a fun challenge. It might even be something we might consider creating an add-on for.
We’ll do a bit of research and get back to you with our findings. If you are intrested in participating in an add-on, please consider upgrading to collapse-pro-matic and we’ll work directly with you to implement a simple solution.
Regardless, good question!
Update:
There is a pretty cool jQuery OrgChart library that is 90% of what you need. It could be wrapped into a WordPress plugin (if it has not already been done)
Update:
Yup, looks like this is exactly what you are looking for: Simple Org Chart
-
This reply was modified 9 years, 1 month ago by
twinpictures. Reason: Added OrgChart library link
-
This reply was modified 9 years, 1 month ago by
twinpictures. Reason: added responsive question
-
This reply was modified 9 years, 1 month ago by
twinpictures. Reason: added Simple Org Chart link
Hey Twinpictures,
Unfortunately Simple Org Chart isn’t exactly what I am looking for. The second link I posted shows multiple people in a squad and, additionally, I don’t really need an entire user card for each person. Org Chart seems to use people for every node where as here I would like to use the abstract “1ST SQUAD” as a parent node for all the members (of 1st squad).
To answer your questions:
1. If you mean the list should be below the 1ST SQUAD then yes.
2. Stylistically, I wouldn’t like to have anything more than 2 expands away, simply to reduce clicks.
3. I am not sure. Personally my users won’t be bound by smaller viewports so it wouldn’t be too big of an issue if everything broke on smaller viewports. I imagine you guys will come up with a far better solution than anything I could suggest 😛
Hopefully this provides you with enough of a challenge and thanks for being so willing to help, it is a very pleasant surprise!