Forum:Collapsible galleries css code?

Is there some sort of css code or perhaps a template to make galleries collapsible? -- Light Daxter -  Talk  19:48, July 17, 2010 (UTC)


 * You can find code for collapsible tables on Wikipedia: Wikipedia:Help:Collapsing To make this work you would need to copy the relevant section of Wikipedia's MediaWiki:Common.js and paste it into the Common.js of your wiki. Then you would create a table template that uses the class "collapsible."
 * I recently saw a collapsible gallery template on Encyclopedia Dramatica... I'll save your eyes from the horror and just copy it here as an example of how it could work. ~ Gardimuer { ʈalk } 00:08, July 18, 2010 (UTC)


 * }

Thanks, we tried the ED template before making a topic here but couldn't get it to work, I'm sure we'll be able to get something done this time though. -- Light Daxter -  Talk  00:27, July 18, 2010 (UTC)


 * It works, but the Add a photo button forces this ugly line break between the two galleries. Is there a way of hiding it (like display; none)? -- Light Daxter -  Talk  12:04, July 18, 2010 (UTC)


 * I think you could remove the first button with onLoad JQuery and Javascript. Maybe something like . Pcj would know probably. --  Fandyllic  (talk &middot; contr) 10:28 AM PST 18 Jul 2010