[Wikia-l] 1) bug in the show/hide jQuery code triggered by nesting & 2) feature request: "show all / hide all"
najevi najevi
najevi at hotmail.com
Thu Jun 25 18:13:52 UTC 2009
1) bug in the show/hide jQuery code triggered by nesting
When NavFrame/NavContent div elements are nested the behavior under the jQuery script is bugged whil et he behavior under the legacy DOM raw functions based script is not. For contrasting demos see:
http://vsk.wikia.com/wiki/User:Najevi/showhide
and contrasted that with the jQuery code at
http://animanga.wikia.com/wiki/User:Najevi/showhide
2) feature request: "show all / hide all"
One click to "show all" and "hide all" collapsible NavContent is important functionality to add.
I realize this was not supported in the legacy javascript but adding it for the NavFrame/NavHeader/NavContent div elements was not too challenging even for a novice. See http://help.wikia.com/wiki/Help_talk:Dynamic_navigation for the code used.
It is demonstrated working at
http://vsk.wikia.com/wiki/User:Najevi/showhide
NOTE: That patch does _not_ affect collapsible tables (since tables do not use the NavContent div element). When I learned of the newer jQuery script replacing the legacy raw DOM function script I stopped tinkering because I don't have an immediate need for collapsible tables and figured my effort is better invested in studying jQuery.
I've written about this feature request at the link mentioned above and also at
http://dev.wikia.com/wiki/Talk:ShowHide/code.js
and so I don't plan to repeat any of that here.
regards,
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikia.com/pipermail/wikia-l/attachments/20090625/0e0d0ae5/attachment.html
More information about the Wikia-l
mailing list