No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
:so i need to remove this one |
:so i need to remove this one |
||
⚫ | |||
− | |||
⚫ | |||
Line 48: | Line 47: | ||
<p style="margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 13.0px Courier; color: #3a3a3a; background-color: #f2f2f2"> brackets: '[[]]'</p> |
<p style="margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 13.0px Courier; color: #3a3a3a; background-color: #f2f2f2"> brackets: '[[]]'</p> |
||
⚫ | |||
⚫ | |||
+ | <p style="margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 13.0px Courier; color: #3a3a3a; background-color: #f2f2f2">importScriptPage('CollapsibleInfobox/code.js', 'dev'); //for examples on [[CollapsibleInfobox]]</p> |
||
+ | :[[User:Vanit2010|Vanit2010]] 19:46, November 19, 2011 (UTC) |
||
⚫ | |||
+ | : |
||
⚫ |
Revision as of 19:46, 19 November 2011
To contact staff directly or to report bugs, please use Special:Contact.
Hello been having problems with the collapsing box codes and getting them to work... i have no idea how to do them... had to remove them all as everytime i put them in and tryed to collapse something it never worked...
can anyone help?
Vanit2010 16:35, November 19, 2011
- Other than giving you a link to a Show/Hide functionality tutorial, there's not much we can do here without knowing which wiki you're referring to. — Sovq 16:56, November 19, 2011 (UTC)
- the link to my site is http://ace.wikia.com/wiki/WWE_Universe_Mode
- i think i added the right codes in the right places.Vanit2010 17:08, November 19, 2011 (UTC)
Yep. it works thank you Sovq. :) Just trying to find out how to auto hide. Only thing thats not working. the hides are on this page. want to know how i can auto hide them :) http://ace.wikia.com/wiki/WWE_Unified_Tag_Team_Championship
reasons there 3 tables is im trying to test them
Vanit2010 18:14, November 19, 2011 (UTC)
This, in your common.js, will auto-collapse:
var ShowHideConfig = { autoCollapse: 0}; importScriptPage('ShowHide/code.js', 'dev');
It is importing the code from the "dev" wiki, you copied the ShowHide/code.js to your wiki and tried to change it there, but to import it on your own wiki you would have needed to use something like:
importScriptURI('http://ace.wikia.com/wiki/MediaWiki:ShowHide/code.js&action=raw&ctype=text/javascript&dontcountme=s&templates=expand');
in your common.js instead.
- --Sxerks 19:05, November 19, 2011 (UTC)
- so i need to remove this one
/* Any JavaScript here will be loaded for all users on every page load. */
var ShowHideConfig = {
brackets: '[[]]'
};
importScriptPage('ShowHide/code.js', 'dev');
importScriptPage('CollapsibleInfobox/code.js', 'dev'); //for examples on CollapsibleInfobox
- Vanit2010 19:46, November 19, 2011 (UTC)