Template talk:OGL Bottom
Size
So, as I was browsing Wikipedia I came across an interesting extension. I am not sure of the name, however it enables the hiding and expanding of a certain template (for example this page on the very bottom this is present). So, to make the OGL Bottom template not as obstructive I was thinking we could try to use this... Thoughts? Anyone know what the extension is called? --Green Dragon 12:24, 15 January 2008 (MST)
- It may not an extension. It's uses a bit o' javaScript hide/show the table. —Sledged (talk) 14:21, 22 February 2008 (MST)
- Is it this http://en.wikipedia.org/wiki/Template:Navbox ? --Green Dragon 00:38, 24 February 2008 (MST)
- Let's see if this works:
Table: Caption What I feel happy!
- Any way to make it start hidden? --Green Dragon 12:28, 15 April 2008 (MDT)
- It requires a caption, using |+ to show the [HIDE] / [SHOW]. --TK-Squared 16:20, 20 March 2009 (MDT)
- I also got Ganteka to do a bit of a change to Common.js, pretty much changing || to && and Collapsed != -1 to == -1. The || is an or statement, which means it'll run if either were true, so it was hiding all tables. --TK-Squared 16:38, 20 March 2009 (MDT)
- Yes, that was the point: 'Just add "hidden" or "collapsed" to the class names.' Some examples:
- class="collapsible"
Table: Caption What I feel happy! - class="collapsible collapsed"
Table: Caption What I feel happy! - class="collapsible hidden"
Table: Caption What I feel happy! - class="collapsible collapsed hidden"
Table: Caption What I feel happy! - See? I meant for "collapsed" and "hidden" to be synonyms, so all but the first should be initially hidden (i.e. collapsed). —Sledged (talk 21:08, 20 March 2009 (MDT)
- Yes, that was the point: 'Just add "hidden" or "collapsed" to the class names.' Some examples:
- Except collapsed should mean it's open. --TK-Squared 21:22, 20 March 2009 (MDT)
- Huh, always thought of collapsed as collapsing downwards. Nevermind, anyway; apparently, the Hide/Show doesn't work on Internet Explorer 6, most probably something to do with the Javascript interpreter on IE. --TK-Squared 01:50, 22 March 2009 (MDT)
- For some reason, the hide/show thing doesn't seem to be working. Is that just my computer? --Sam Kay 03:14, 22 March 2009 (MDT)
- I can verify that it works on Chrome and Firefox, but it definetly does not work on Internet Explorer, which I believe is normally the biggest problem in Javascript interpretations anyway. --TK-Squared 15:52, 22 March 2009 (MDT)
gollark: As planed.
gollark: You need a ™ symbol or you will not have a ™ symbol.
gollark: ↑ this explains what is really going on
gollark: ?tag bm25
gollark: This is false.
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.