#how do i make a collapsible that collapses multiple other collapsibles when it's expanded

28 messages · Page 1 of 1 (latest)

kind scaffold
#

i'm trying to make a custom tabber system

kind scaffold
#

it didn't help

safe stone
#

I should've cleaned it up a long time ago, but this should be a good enough example of how it works. There are some extra features compared with the tabber extensions, but you probably won't need them.

kind scaffold
#

oooh alright thanks

safe stone
# kind scaffold can i use this?

Of course. It's licensed under CC BY-SA 4.0. Chances are your wiki uses the same license, so it won't be a problem as long as you provide attribution.

kind scaffold
#

alright

kind scaffold
#

it's already at the bottom right

safe stone
kind scaffold
#

which implies the js isn't working

#

lemme send the pages

#

anything i'm missing?

#

oh and for extensions i have variables, loops, templatestyles

#

what else would i need

#

nvm found it

#

it's in common.js right

safe stone
#

You probably don't have the line in Common.js

#

Yes that's right

kind scaffold
#

only this?

$( document ).ready(function() {
    mw.loader.load("/wiki/MediaWiki:tab.js?action=raw&ctype=text/javascript");
});```
kind scaffold
#

it's still not working

#

OH IT IS WORKING

#

sorry