Collapse Button/Link
Ghost
send my soul away
1,066 Posts
Ooc —
Master Guardian
Tracker
Offline
#2
The code is in that thread that you linked, but maybe something isn't matching up for you? Can you post the code you're working on, so we can see?

One thing that catches people, you have to make sure that the collapse button/link's "ID" matches up, in both instances.

This is the code if you just want a link:
Code:
[collapse-link=uniqueID]Link[/collapse-link]
[collapse=uniqueID]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa[/collapse]
The uniqueID part is the "ID" of the collapsible content, so you have to match both.
when you come down to take me home
send my soul away
Messages In This Thread
Collapse Button/Link - by Lunaria - July 15, 2020, 06:28 PM
RE: Collapse Button/Link - by Arcturus - July 15, 2020, 06:34 PM
RE: Collapse Button/Link - by Blackheart - July 15, 2020, 06:35 PM
RE: Collapse Button/Link - by Lunaria - July 15, 2020, 07:01 PM