Topic on Project:Support desk

How can I collapse all headers?

3
DStallTX (talkcontribs)

How can I make all headers collapse on page load and expand with down arrow in MediaWiki 1.38?

I found this article - Create Collapsible Content By Heading - jqHeaderSlider and example which is what I want.

How can I get example scripts to work?

I've downloaded them and copied them to my Common.js file but they don't work.

Do I have them in the right order? Or what am I doing wrong or not doing?

Tory John (talkcontribs)

I believe during page load the last option to collapse sections is to look for.

DStallTX (talkcontribs)

And how is that supposed to help me fix this issue?

Did you look at my JS code?

Is there anything wrong with it????

Reply to "How can I collapse all headers?"