Forum:Requesting ShowHide code repair

ShowHide code at dev.wikia is not working for DIV. I'm a more div oriented. Could some one fix is or provide me with the corrected code. Thanks in advance. --
 * AFAIK ShowHide2 does allow collapsible div tags, correct me if I'm wrong though. Mark  ( talk ) 17:36, April 15, 2011 (UTC)
 * ShowHide2 was created by me. It only modify one line of code of ShowHide so that instead of append it to the header text would prepend it to the header(as NavFrame does). Dantman later modify the ShowHide to be able to do this by setting it, so to avoid issues for wikis/people who had already installed the code I just forward to the ShowHide with the proper. I have try to fix the issue but I have been unsuccessful hence why I'm here can some one fix it? please --
 * Tagging staff needed. Maybe they can see the problem. -- Fandyllic (talk &middot; contr) 16 Apr 2011 2:59 PM Pacific


 * Cizagna. Can ShowHide2 be deleted now that its functionality has been incorporated into ShowHide? The existence of 2 versions is confusing people, and the JS for the 2 versions is not the same. --Timeshifter 06:13, April 20, 2011 (UTC)
 * ShowHide2 is the most used, isn't it? I don't see most people using regular ShowHide. The import was redirected, but most people don't import code anyway - they copy the syntax from that other wiki they saw that had it, and most wikis have the whole thing.
 * I did not know that it was redirected. If some people copied versions of it before it was redirected, then they might have some buggy JS. If they copied later versions from ShowHide/code.js they might be using buggy versions too if they are not importing it. According to the history it is still being updated from time to time. So it might be better to encourage people to import it. I don't know. See:
 * http://dev.wikia.com/index.php?title=ShowHide/code.js&action=history --Timeshifter 10:04, April 22, 2011 (UTC)
 * Aside from the issue about breaking the code for wikis using for me the issues its still there (in show/hide#1) as by default it appends the button I don't know if thats because an specific table issue but in div's that looks wrong in terms of compatibility with Divs. Maybe doing a clearer text to avoid confusion on that mater.
 * The editions that where done by Grunny and by Ubberfuzzy where; to add translated versions for PL and RU languages and to fix spaces or visual codding (clearer to read). I have already reverted to older JS only code versions I had in some wikis (I have not alter dev.wikia codes) as it works as it should thought I will miss the glide effect it had with Dantmans show/hide version. --

I got a possible answer that it could be the modifications that ubberfuzzy did, but they are not. The last working version is the one at Jun 22 of 2009 (when Dantman was designing it) and then it starts to fail, been able to hide but then you can't show and finaly you can click as much as you want the hide/show buttons of the divs and they dont work.

I've narrow it down to the following 3 lines. And I bet it has to do with the first line, the second line just gives the slide effect, and the 3er line just changes the buttom text am I right?

Dont know what was change in Wikia's JQuery that this does not work.

--


 * I've made a fix on the Dev Wiki version that fixes this issue for now. I'll look into why the old version stopped working. Cheers, Grunny  ( talk ) 10:07, May 31, 2011 (UTC)
 * Oh you beat the notification xD Removing  since it has been resolve. --