I have a little bit of a better idea.
What about modifying the Collapsible EditTools inside of my:
http://anime.wikia.com/wiki/MediaWiki:ShowHide.js
Then you'll also have it so that someone who clicked show will also see
the stuff opened on other pages to.
~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)
Chris Stafford wrote:
here's what i want to do. take the working show/hide div code here
http://egamia.wikia.com/wiki/MediaWiki:Common.js
(working example can be seen
http://egamia.wikia.com/wiki/User:Uberfuzzy/testpage)
and modify it to instead change the display of a div with specific known id
on the page that has already been disp:none'd by global css
---
reasons: quite of number of the images at egamia are of "questionable"
material based on your age/country. i want to try to gather them up into
specific categories rather then being mixed in with all the other content.
using css in common.css and the pageid, i'll set #mw-category-media(the
media section of a category) with display:none, and only after the user
manually (and knowingly) clicks "show me, i'm of age") will the media
section be shown
---
i could tear that code apart, figure out how it works together, and modify
it to do what i need to, but that would take time. i know atleast a few of
you that read this list are already guru's with this MW/JS onhook stuff.
-uberfuzzy
------------------------------------------------------------------------
_______________________________________________
Wikia-tech-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-tech-l
_______________________________________________
Wikia-tech-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-tech-l