Collapsing table code for profiles
 
php magician
Age: 120 | Height: | Race: Attuned | Citizenship: Hollowed Grounds | Level:
STR: - DEX: - END: - LUCK: - ARC: - INT: - HP: 0 - BASE ROLL: 0
Athena - Mythical - Shire
Played by: Neowulf
Posts: 47 | Total: 685
MP: 970

#3
I also fixed the accordion thing for posts, but you'll need to remove the script from your profile's Styling field or it won't work there now. Odd can beat me up if she dislikes this.

If you use it on posts and use the button code, MAKE SURE YOU DO NOT HAVE A LINE BREAK BETWEEN IT AND THE FOLLOWING DIV.

Code:
<button class="accordion">This is where the section heading goes.</button><div class="panel">
Your text and such goes here.
</div>

If you use a div you can put a line break in.

Code:
<div class="accordion">This is where the section heading goes.</div>
<div class="panel">
Your text and such goes here.
</div>

*shrugs and runs out*


Archive



Messages In This Thread
Collapsing table code for profiles - by Odd - 03-08-2019, 10:14 AM
RE: Collapsing table code for profiles - by Neowulf - 03-15-2019, 07:45 AM



Users browsing this thread: 1 Guest(s)


RPG-D