Forum:Problem with hideable template

On The Godfather Wiki I copied a hideable template from the L.A. Noire Wiki including all the other necessary templates for it to work. I also copied a part from it's Wikia.css to my own Wikia.css.

I believe I did absolutely everything that would be necessary for the "hideable" option to work, but somehow it doesn't.

Can someone please help me?

These are the templates:

http://godfather.wikia.com/wiki/Template:Admin_Navbox

http://lanoire.wikia.com/wiki/Template:Admin_Navbox

-- Sonny Black ( Talk ) 12:46, April 17, 2011 (UTC)


 * You forgot to copy the show/hide functionality from the other wiki's MediaWiki:Common.js to your own MediaWiki:Common.js or Wikia.js. The code to copy starts with '// BEGIN Collapsible tables'. Sovq 12:51, April 17, 2011 (UTC)

Okay, I've added it. Thanks for noticing. But the template is now pretty messed up and when clicking on the hide/show button it changes its width... -- Sonny Black ( Talk ) 13:34, April 17, 2011 (UTC)


 * Never mind. I've copied too much from common.js which caused it. I think it's fixed now. -- Sonny Black ( Talk ) 13:38, April 17, 2011 (UTC)


 * Due to caching issues; if you don't see the box styled properly - refresh the .css page with ctrl+f5, if you don't have the show/hide functionality - refresh the .js page with ctrl+f5. Sometimes you will load the wrong (old) revision of either of these pages, unfortunately that's something that can't be solved on our side - you have to try clearing you cache and try to force the browser to load the most recent version of the MediaWiki pages. Sovq 14:19, April 17, 2011 (UTC)