Forum:Collapsible div doesn't work in Firefox 3.6.2

Hi,

in the Inheritance Cycle Wiki we use some kind of collapsible div. I never used this before, don't ask me about details, better look at it yourselves :-/


 * Example: w:c:inheritance:Eragon_(book), section 7.3
 * CSS: w:c:inheritance:MediaWiki:Common.css

Problem: It doesn't work with Firefox 3.6.2, but in IE 8 it works fine.

Does anybody know how to make it work in Firefox? Or is there a different (working) way to get a similar result?

Thanks for your help, --Weas-El 19:24, March 25, 2010 (UTC)


 * See w:c:dev:ShowHide. 19:30, March 25, 2010 (UTC)


 * collapsible divs works fine on my FF3.6.2, chrome 4.0, & IE8 at our site w:c:gintama:OP1Gin-san (Talk) 21:07, March 25, 2010 (UTC)


 * Thanks for the documentation link, I will read it later. Generally it works in my FF3.6.2 too... The TOC for example works, and on other websites it works too... But in our self defined NavFrames I don't see a [show/hide] button. I remember that it worked earlier, maybe some weeks ago. --Weas-El 10:12, March 26, 2010 (UTC)


 * Including the java script from w:c:dev:ShowHide to my monaco.js fixed the problem. I see the buttons now (double and wrong place, but never mind ^^). So something has to be wrong with our self-made (?) code. Maybe I can figure that out. --Weas-El 12:33, March 26, 2010 (UTC)

There was probably something up with the code that was there, but you don't really need to figure it out. The code that was there and the stuff from dev duplicate each other; removing the stuff that was there will get rid of the double buttons. The 888th Avatar  (talk)  15:01, March 26, 2010 (UTC)


 * You're right, why try to fix the old, when you can replace it with a working version. But it sounded too good to work :-( I replaced our old styles and included the script from w:c:dev:ShowHide. First there were two [show/hide] buttons, but after clearing the cache both are gone. Now I have the same problem as at the beginning...
 * Would you maybe take a look at our Common.css, is there a syntax error? --Weas-El 00:12, March 27, 2010 (UTC)


 * Yes, there is something up - javascript like this is meant to go in MediaWiki:Common.js, not Common.css. ;) The 888th Avatar   (talk)  00:25, March 27, 2010 (UTC)