the Rift


Collapse Panel Code
Ascended Helovian

Mauja the Frozen Light Posts: 1,392
Outcast atk: 6.5 | def: 10.5 | dam: 7.5
Stallion :: Unicorn :: 17.2 :: 14 HP: 79.5 | Buff: HUNTER
Irma :: Snowy Owl :: Terrorize & Diego :: Eurasian Eagle-Owl :: Rage Neo
#3
For panel open by default, change "panelcollapsed" just to "panel" :)
it's the script built in to the normal profile collapsibles, HOWEVER, DON'T use HTML in the heading (like the example Zuno gave has a centering tag). The open/close is stored in a cookie and if you use tags ( < > ) in it, it will save the same cookie for all things with tags in it (at least it used to xD idk now). So if you want extra styling, use a style="" thing after the h2. It toggles when you click the h2, so.. yeah.
Code:
<h2 style="text-align: center;">NAME</h2>
is recommended to make it able to save a cookie for each thing you're trying to toggle :)
angels, they fell first, but I'm still here


Messages In This Thread
Collapse Panel Code - by Thranduil - 05-06-2015, 09:05 AM
RE: Collapse Panel Code - by Sikeax - 05-06-2015, 09:51 AM
RE: Collapse Panel Code - by Mauja - 05-06-2015, 09:57 AM
RE: Collapse Panel Code - by Thranduil - 05-06-2015, 10:03 AM
RE: Collapse Panel Code - by Zahra - 05-06-2015, 10:38 PM

Forum Jump:


RPGfix Equi-venture