Feature Development/Brainstorming: Collapsable Sections
Forum page
this wiki
Forums: Index > Planning Forum > Feature Development/Brainstorming: Collapsable Sections |
![]() |
I have been developing the code to enable us to hide and show sections via little clickie javascript links. This code is based off of the existing hide/show behavior that you see in some of our templates, like
Template:CapCheck
. However, this new code will allow the hide/show behavior for blocks of text, entire sections, and even multi-section chunks. The code is still in development, but has had some minor testing and is working in specific implementations.
Now, we need to think up possible ideas that can use a hide/show behavior. Keep in mind that we can have sections starting off as hidden. Some of the ideas that I have come up with so far is:
- A section on quest pages for NPC dialog from the quest
- Cleanup of some existing templates to make the important information shown while hiding the less-important info
Advanced wiki users can try the system out for themselves: Just copy the entire code text from this page to a subpage to your user directory named monaco.js. For example, if your user name was Foo, you would copy it to User:Foo/monaco.js. You can copy that text, place it in the search bar and replace where it says Foo to your own user name prior to hitting enter, then you will end up at the right place.. Then just head over to User:Lordebon/Sandbox and you can see the behavior in action. Please note that testing this should be for users familiar with getting to their proper customized-javascript page.
With that said, let us hear some ideas for using this, and opinions on the system in general! -- lordebon 14:22, 17 July 2009 (UTC)
Update! Collapsable divs that use the previous header for the collapse/expand link are now working (in FF 3.5 at least, have not had time to test the rest). Advanced users are welcome to test it out! --
lordebon
02:42, 1 September 2009 (UTC)
Some additional ideas for where this feature may be useful once tested and rolled out:
- Timeline sidebars. Show only the relevant portions while collapsing the rest!
- Lore or even Trivia sections for zones/mobs. Information that is 'less relevant' to pages can be hidden by default and expanded by the user if they're interested in it.
-- lordebon 13:59, September 1, 2009 (UTC)